I have a quick question about the default working directly on python.
I am currently using the python 2.7. In this case the default working directly is the C:/Python27
.
I want to change this permanently to another directory.
Even if we write down following on shell, the default working directory will go back to the original C:/Python27
automatically.
import os
os.chdir('a path')
Does any one know how to set up default directory permanently to "the path" which keeps the directory after the closing the shell?
This is a different question from how to change working directory just by the function temporarily.
Thank you so much for your help!!