Obtaining a full path name from file

Tim Golden mail at timgolden.me.uk
Tue May 24 12:10:44 EDT 2011


On 24/05/2011 17:04, RVince wrote:
> Ha! You;re right -- but is there a way to get it without the filename
> appended at the end?

Well, just use the functions in os.path, specifically os.path.dirname...

TJG



More information about the Python-list mailing list