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