更改调用以使用BaseConvert.BASE10和BaseConvert.BASE2 了解有关本地和全球名称的更多信息,请阅读: http://www.python.org/doc /current/ref/naming.html < / F> change the call to use BaseConvert.BASE10 and BaseConvert.BASE2 to learn more about local and global names, read this: http://www.python.org/doc/current/ref/naming.html </F> 这篇关于基本转换方法或模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-29 21:10