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_