string bug/oddity?

Johann Hibschman johann at physics.berkeley.edu
Mon Aug 13 02:20:02 EDT 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