I'm new to python and wondering if there is a way to reference
information about the script that is running.  For example, if I was
running a script named "FileInfo.py" from the directory
"/home/username", I'm looking for attributes such that something similar
to:

print self.name
print self.path

would output:

FileInfo.py
/home/username

... Thanks!  
Nathan
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to