Hi;
If I am writing a script that generates HTML, how do I grab the name of the
actual file in which I am working? For example, let us say I am working in
test.py. I can have the following code:

import os
dir = os.getcwd()

and that will give me the working dir. But what about "test.py"?
TIA,
Victor
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to