I am trying to write python code which will execute following steps in cmd terminal in linux machine
cd /path/to/destination/
3dAFNItoNIFTI *epi*
i tried calling subprocess.call
two times, once to cd and then impleemnt that command. but it doesnt seem to work.
Is there a way to call two line inux command code using subprocess?
Thanks!