You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Import an ipynb that's not in the root. You end up with this:
#%% Change working directory from the workspace root to the ipynb file location. Turn this addition off with the DataScience.changeDirOnImportExport setting
import os
try:
os.chdir(os.path.join(os.getcwd(), 'exercisefiles\05\demos\demo\titanic\notebooks'))
print(os.getcwd())
except:
pass
That should be an escaped path. The '' are single.
WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect: 'd:\Training\DoingDataScienceWithPython\exercisefiles\x05\demos\demo\titanic\notebooks'
The text was updated successfully, but these errors were encountered:
Import an ipynb that's not in the root. You end up with this:
That should be an escaped path. The '' are single.
If you run it, you get this:
os.chdir(os.path.join(os.getcwd(), 'exercisefiles\05\demos\demo\titanic\notebooks'))
WindowsErrorTraceback (most recent call last)
in ()
----> 1 os.chdir(os.path.join(os.getcwd(), 'exercisefiles\05\demos\demo\titanic\notebooks'))
WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect: 'd:\Training\DoingDataScienceWithPython\exercisefiles\x05\demos\demo\titanic\notebooks'
The text was updated successfully, but these errors were encountered: