spir wrote:
Hello,

is there a way to make glob work in a specified dir?
(or is it necessary to use os.chdir first?)

Thank you,
denis

You can hand glob.glob either a relative pathname (in which it's relative to the current directory), or an absolute pathname.

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to