Thijs Engels wrote:
argv[0] returns the name of the current file (string), but no path information if I recall correct.
It's the path that was used to specify the script by whatever launched it, so it could be either absolute or relative to the current directory. -- Greg -- http://mail.python.org/mailman/listinfo/python-list