Sun, 23 Dec 2001 00:56:05 +0100
> In Delphi there's this lovely function called ExpandFileName, which converts
> the relative file name into a fully qualified path name by merging in the
> current drive and directory. I suppose in Python there's the same kind of
> function, but, unfortunately, I cannot find it (using python 2.2). Can
> anyone help me with this?
> import os.path
os.path is full of nice functions. shutil is another good module to know
about, as is glob.
The documentation, as always, available on
Kalle Svensson (email@example.com) - Laziness, impatience, hubris: Pick two!
English: http://www.gnupung.net/ Svenska: http://www.lysator.liu.se/~kalle/
Stuff: ["http://www.%s.org/" % x for x in "gnu debian python emacs".split()]