svg2gcode/convert.py

8 lines
261 B
Python
Raw Normal View History

2022-06-13 12:45:47 +02:00
from __future__ import absolute_import
from __future__ import print_function
import os
for filename in os.listdir('.'):
if filename.endswith('.py'):
os.system("modernize -w " + filename + " --no-six")
print(("Converting", filename + "..."))