Python Newbie

piterrr.dolinski at gmail.com piterrr.dolinski at gmail.com
Sun Feb 24 16:46:07 CET 2013


Hi guys,

Question. Have this code

intX = 32                          # decl + init int var
intX_asString = None               # decl + init with NULL string var

intX_asString = intX.__str__ ()    # convert int to string

What are these ugly underscores for? _________________str___________________

Peter



More information about the Python-list mailing list