os.path.isdir do not work for Foder named '2011-07-03'

2011-07-18 Thread Nulpum
I want to make sure that folder exists. '2011-07-03' is really exists. but 'os.path.isdir' say false Does anyone know why? >>> os.path.isdir("C:\Users\조창준\Desktop\logs") True >>> os.path.isdir("C:\Users\조창준\Desktop\logs\2011-07-03") False -- http://mail.python.org/mailman/listinfo/python-list

Re: os.path.isdir do not work for Foder named '2011-07-03'

2011-07-19 Thread Nulpum
On Jul 19, 1:42 pm, Steven D'Aprano wrote: > Nulpum wrote: > > I want to make sure that folder exists. > > > '2011-07-03' is really exists. but 'os.path.isdir' say false > > > Does anyone know why? > > Yes. > > >>> print &qu