[Tutor] ExpandFileName

Karthik Gurumurthy karthikg@aztec.soft.net
Sat, 22 Dec 2001 23:42:03 +0530


import os.path
os.path.abspath(fileName)

ae you looking for this?

karthik

-----Original Message-----
From: tutor-admin@python.org [mailto:tutor-admin@python.org]On Behalf Of
Daniel Kinnaer
Sent: Saturday, December 22, 2001 11:20 PM
To: tutor@python.org
Subject: [Tutor] ExpandFileName



Hello,

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?

Thanks,

Daniel


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