[Robin Siebler] > Sent: Monday, June 10, 2002 2:55 PM > To: '[EMAIL PROTECTED]' > Subject: No such directory? > > > When I try to change into a certain directory, I get an errorm > message that > states the directory doesn't exist. The directory does exist, > however, and > the listdir function shows that it exists. What gives? > > >>> os.chdir('c:\\18_510GMC1\\18_510GMC1') > Traceback (most recent call last): > File "<interactive input>", line 1, in ? > OSError: [Errno 2] No such file or directory: 'c:\\18_510GMC1\\18_510GMC1' > >>> os.getcwd() > 'c:\\18_510GMC1' > >>> os.listdir(os.getcwd()) > ['18_510GMC']
Try it without the typo. <wink> >>> os.chdir('c:\\18_510GMC1\\18_510GMC') --- Patrick K. O'Brien Orbtech http://www.orbtech.com/web/pobrien/ _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython