| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/tmexcept/Python/master/Article/python2/Type_conversion.md | [Back] [Original] |
# # ||| |-----|------| |int(x [,base ]) | x | |float(x ) | x | |complex(real [,imag ])| | |str(x ) | x | |repr(x ) | x | |eval(str ) | Python , | |tuple(s ) | s | |list(s ) | s | |chr(x ) | | |unichr(x ) | Unicode | |ord(x ) | | |hex(x ) | | |oct(x ) | | Python 3 int python2 Long
| Web Proxy Viewer | New URL | Original Page |