zjm1126 zjm1126 - 11 months ago 80
Python Question

How to rename a file using Python

I want to change

a.txt
to
b.kml
.

YOU YOU
Answer Source

Use os.rename('a.txt','b.kml')