appending * to glob returns files with '*' !!
John [H2O]
washakie at gmail.com
Fri Sep 19 16:37:58 EDT 2008
I have a glob.glob search:
searchstring = os.path.join('path'+'EN*')
files = glob.glob(searchstring)
for f in files:
print f
___
This returns some files:
EN082333
EN092334
EN*
My routine cannot handle the '*' and it should'nt be returned anyway? :-/
A bug?
--
View this message in context: http://www.nabble.com/appending-*-to-glob-returns-files-with-%27*%27-%21%21-tp19579121p19579121.html
Sent from the Python - python-list mailing list archive at Nabble.com.
More information about the Python-list
mailing list