Re: python os.chdir() Windows Error 2

2019-04-02 Thread grossmudda
Ahhh now I see!! I actually was trying to import a file, now I know it´s just changing the directory. Next time I´d better read the description of the tool carefully... Thank you so much!! You helped a lot! -- https://mail.python.org/mailman/listinfo/python-list

python os.chdir() Windows Error 2

2019-04-01 Thread grossmudda
Hey guys, I´ve got a problem importing a file with os.chdir. I´ve done a lot of research but still I can´t fix it. For any suggestions I would be so thankful! This is what I´ve tried so far: import os import numpy as np import matplotlib.pyplot as plt os.chdir('C:\Users\Ayla\Documents\Uni\Mas