a.txt
に変更したいですb.kml
。
ベストアンサー1
使用os.rename
:
import os
os.rename('a.txt', 'b.kml')
使用法:
os.rename('from.extension.whatever','to.another.extension')
a.txt
に変更したいですb.kml
。
使用os.rename
:
import os
os.rename('a.txt', 'b.kml')
使用法:
os.rename('from.extension.whatever','to.another.extension')