string bug/oddity?

Johann Hibschman johann at physics.berkeley.edu
Mon Aug 13 08:20:02 CEST 2001


Roman Suzi writes:

> Maybe

>         if type(a[x]) != type("string"): print x+repr(a[x])

> will solve your problem?

Or try: print x+str(a[x])

-- 
Johann Hibschman                           johann at physics.berkeley.edu



More information about the Python-list mailing list