On Tue, 14 Sep 2010 05:07:03 am Evert Rol wrote: > Note 2: the directory can exist, but not have write access to your > process. So between the try-except for creating a directory and the > try-except for creating a file, you may put in a try-except for > chmod.
If some application tried changing permissions I had set on a directory or file without my direct say-so, I would dump that application immediately. -- Steven D'Aprano _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor