[ python-Bugs-1001604 ] glob unicode
SourceForge.net
noreply at sourceforge.net
Sun Aug 1 21:20:15 CEST 2004
Bugs item #1001604, was opened at 2004-08-01 19:20
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1001604&group_id=5470
Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: leve (leve)
Assigned to: Nobody/Anonymous (nobody)
Summary: glob unicode
Initial Comment:
#Here is the script
#Python 2.3 on W2K
import glob
name = glob.glob(u"./*.mp3")[0]
print type(name)
name = glob.glob(u"*.mp3")[0]
print type(name)
##OUTPUT##
#<type 'unicode'>
#<type 'str'>
#The second line should be <type 'unicode'> too.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1001604&group_id=5470
More information about the Python-bugs-list
mailing list