blob: 85fe2c142f6b549e216264d02ee01438f5e62463 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
import os, subprocess
def fm(f):
return os.getcwd()+"/debug/"+f
for f in os.listdir(os.getcwd()+"/debug"):
print("mv \"%s\" \"%s\"" % (fm(f), fm(f.replace(".rpy", ".py"))))
subprocess.call("mv \"%s\" \"%s\"" % (fm(f), fm(f.replace(".rpy", ".py"))), shell=True)
subprocess.call("ls \"%s\"" % os.getcwd()+"/debug", shell=True)
|