Pycharm中添加2to3工具

在Python2.x中寫的程序在Python3.x中運行,需要進行遷移,使用Python自帶的工具 2to3-3.5可以將2.x版本的代碼生成其對應的3.x版本的代碼。我使用的IDE是PyCharm,下面介紹在PyCharm中添加 2to3-3.5工具 1.找到Python安裝包裏面的2to3-3.5工具          2.點擊File-->Setting-->Tools-->External
相關文章
相關標籤/搜索