Atm I have this as my code, the first line seems to work well but the 2nd gives errrors.
os.chdir(\'C://Users/Alex/Dropbox/code stuff/test\') subprocess.call(
What version of Python are you using? getstatusoutput() is deprecated since version 2.6. In Python 3 you can use subprocess for the same effect.
subprocess.getoutput('cd /Users/Alex/code/pics/')