I am a Mac user and I am trying to change the cwd of the current directory to the below but it is giving me the error. Could you please suggest me how I can fix this error?
os.chdir('/Users/hdummi/Desktop/')
OSError Traceback (most recent call last)
<ipython-input-24-12308fa290ee> in <module>()
----> 1 os.chdir('/Users/hdummi/Desktop/')
OSError: [Errno 2] No such file or directory: '/Users/hdummi/Desktop/'
The current path says something like:
import os
os.getcwd()
'/export/hda3/borgletdata/dirs/'