Execute Method:
python compile.py ./ src
import compileall
import sys
def main():
newDir=sys.argv[1]+"/"+sys.argv[2]
compileall.compile_dir(newDir)
if __name__ == '__main__':
import compileall
import sys
def main():
newDir=sys.argv[1]+"/"+sys.argv[2]
compileall.compile_dir(newDir)
if __name__ == '__main__':
0 意見:
張貼留言