2to3.py:
#/usr/bin/env python
import sys
from lib2to3.main import main
sys.exit(main("lib2to3.fixes"))
执行方式:
python 2to3.py -w /home/liuskyter/panastor_unify/webvirtmgr/vrtManager/IPy.py
-w 会生成备份文件
2to3.py:
#/usr/bin/env python
import sys
from lib2to3.main import main
sys.exit(main("lib2to3.fixes"))
执行方式:
python 2to3.py -w /home/liuskyter/panastor_unify/webvirtmgr/vrtManager/IPy.py
-w 会生成备份文件