Default path for files

Rotwang sg552 at hotmail.co.uk
Sun Jan 24 10:08:15 EST 2010


Hi all, can anybody tell me whether there's a way to change the default 
location for files to be opened by open()? I'd like to be able to create 
files somewhere other than my Python folder without having to write the 
full path in the filename every time. Sorry if this is a stupid 
question, I don't know much about programming.



More information about the Python-list mailing list