除了 chr ord str 等内建函数之外 还有躲在模块中的常用转换函数,典型的就是下面: >>> from locale import atoi >>> atoi('23123') 23123 >>>