No such directory?

Andy McKay amckay at
Mon Jun 10 16:07:48 EDT 2002

On 10/06/02 12:58 -0700, 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')

Im assuming that you the typo is a cut and paste one? How about:


(No trailing "1")

> >>> os.listdir(os.getcwd())
> ['18_510GMC']

  Andy McKay
  Merlin Technologies

More information about the Python-list mailing list