Craig Cesareo wrote:
Be sure your current working directory is your desktop.

import os
print os.getcwd()

Be careful about changing the working directory from *within* Python. While you can do so, and in the hands of somebody who knows what they're doing it is perfectly fine, there are some pitfalls to avoid and you should consider it an advanced technique.

But reading the WD with os.getcdd() is perfectly fine.


--
Steven
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to