2to3.bat
@echo off
set PATH=%Python 3 path%\Scripts;%PATH%
set CNV=2to3.exe
set OPT=-w
set LOG=.\2to3.log
for /r ".\" %%A in (*.py) do %CNV% %OPT% %%A
Place in the folder to be converted and execute with `` `2to3.bat> 2to3.log 2> & 1```.
The file before conversion was saved as * .py.bak.
That's all for this time.
Recommended Posts