No such directory?

Charl P. Botha cpbotha at
Mon Jun 10 16:05:08 EDT 2002

In article <886c5e4b.0206101158.680c6278 at>, 
Robin Siebler wrote:
> 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')
>>>> os.getcwd()
> 'c:\\18_510GMC1'
>>>> os.listdir(os.getcwd())
> ['18_510GMC']
             ^ no 1 at the end.
You made a typo.

Python: 1. You: 0. ;)

charl p. botha

More information about the Python-list mailing list