Alexander Schatten <asch...@gmail.com> writes:

> could someone help me with a small problem? I wrote a Python script
> that does some RegEx... transformations. Now, this script loads some
> configuration data from a file located in the same directory:

sys.path[0] is the path to the directory containing the script that the
interpreter started with.

-- Alain.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to