Re: [Tutor] Creating folders

2007-01-10 Thread Glenn T Norton
Toon Pieton wrote: > Hey friendly users! > > My question is pretty simple. How can I create a folder with Python? > Trying to make a program which will allow me to save my notes (txt > files) quickly and cleanly. Having to create folder manually would > really make it a bit obsolete. > > Thanks

Re: [Tutor] Creating folders

2007-01-10 Thread Mike Hansen
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Toon Pieton > Sent: Wednesday, January 10, 2007 2:31 PM > To: tutor > Subject: [Tutor] Creating folders > > Hey friendly users! > > My question is pretty simple.

[Tutor] Creating folders

2007-01-10 Thread Toon Pieton
Hey friendly users! My question is pretty simple. How can I create a folder with Python? Trying to make a program which will allow me to save my notes (txt files) quickly and cleanly. Having to create folder manually would really make it a bit obsolete. Thanks in advance! ___

Re: [Tutor] Creating folders in windows...

2006-10-11 Thread Chris Hengge
Now, how would I enter this folder? lets say, to make a subfolder or create files inside it?I see os.chdir() but that either can't see newly created folders, or I must use the complete path... I'm not sure which. just created folder 'test' in current scripts directory...os.chdir('test')no such fil

Re: [Tutor] Creating folders in windows...

2006-10-11 Thread Mike Hansen
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Hengge Sent: Wednesday, October 11, 2006 4:00 PM To: Python Tutor Subject: [Tutor] Creating folders in windows... I found this from a

[Tutor] Creating folders in windows...

2006-10-11 Thread Chris Hengge
I found this from a 2004 mailing on this list..os.path.mkdir('folder') Doesn't work... there is no mkdir in os.path (old style maybe?)>>> os.path.mkdir('folder')Traceback (most recent call last): File "", line 1, in ?AttributeError: 'module' object has no attribute 'mkdir'>>> dir(os.path)['__all_