Cannot create a new file

Peter Hansen peter at engcorp.com
Tue Jun 22 11:49:16 EDT 2004


Eric Belanger wrote:

> I first doubted the problem was here, but I finally (after a few hours) 
> noticed my directory (in the filesystem) had a typo in it (.hnb-bakcup). 
> I never noticed it until this morning :S
> 
> I guess I feel a little stupid, but hey, all that waste of time is worth 
> a good laugh.

That _is_ funny.  :-)

Use my idea about os.makedirs() and you won't have to make the folder
manually any more...

-Peter



More information about the Python-list mailing list