Finding startup files

jeff elkins jeffelkins at earthlink.net
Wed May 11 08:11:23 EDT 2005


I'm creating an app that relies on a configuration file at launch. The file 
will always exist in the app's installation directory, but I have no control 
over where that might be. 

Is there an OS-independent way that I can instruct the app to look in it's 
home directory for startup files? Right now, I'm hard coding the path, which 
won't work. 

Thanks,

Jeff



More information about the Python-list mailing list