Can you give us an example of the way the 'list of files' is stored in.
import os
print os.path.abspath(filename)
Will do *something*... so long as 'filename' contains a path relative
to the current working directory. What you want is undoubtably in the
os and os.path modules.
Regards,
Fuzzy
ht
Sara Khalatbari wrote:
> Suppose I have a list of files & I wanna know their
> path.
> is there a command that helps me do so in python?
Do you _really_ intend to learn Python one question to this list at a
time?
There's a tutorial list that exists to help early users:
http://mail.python.org/ma
What about start reading http://docs.python.org/lib/module-os.path.html?
--
http://mail.python.org/mailman/listinfo/python-list
Suppose I have a list of files & I wanna know their
path.
is there a command that helps me do so in python?
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html
--
http://mail.python.org/mailman/listinfo/python-list