newbie, relative path

Marcus Stojek stojek at
Wed Oct 31 14:01:08 CET 2001

2 little questions.:

I have a small script that uses an .ini file for configuration. How
can I open the file config.ini that is in the same dir as the script
itself? (script dir is changing)


I am pretty sure that I have read somewhere that it is possible
to link the Python Interpreter and everthing together and make
a binary executabel (WIN) from the script. I don't find this in
"Programming Python" or "Learning Python" any more.

Is it possible and where can I find a description?

Thanks again.


More information about the Python-list mailing list