Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: Find if a file existing within 1000s of folder/sub-folder - each file has a unique presence Date: Thu, 21 May 2015 14:14:11 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 17 Message-ID: References: <9d786d0b-0f25-4446-a730-ff1fe2f6b20d@googlegroups.com> <555d9233$0$12913$c3e8da3$5496439d@news.astraweb.com> NNTP-Posting-Host: 67-130-15-94.dia.static.qwest.net X-Trace: reader1.panix.com 1432217651 25844 67.130.15.94 (21 May 2015 14:14:11 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Thu, 21 May 2015 14:14:11 +0000 (UTC) User-Agent: slrn/1.0.1 (Linux) Xref: csiph.com comp.lang.python:91009 On 2015-05-21, Steven D'Aprano wrote: > import glob > print(glob.glob("c:/abc/def/ghjmain/features/XYZ/*")) > > Don't use backslashes \ as they have special meaning to Python. Use forward > slashes and let Python convert them as needed. Interesting. I've never heard about this. When will Python convert them? -- Grant Edwards grant.b.edwards Yow! I was born in a at Hostess Cupcake factory gmail.com before the sexual revolution!