批量转换Python2代码到Python3代码的bat脚本
2o3.bat

1
2
3
4
5
@echo off
for /r ./ %%i in (*.py) do (
c:\Python27\python.exe c:\Python27\Tools\Scripts\2to3.py -w %%i
echo %%i
)