转自Python.Lua和Ruby--脚本大P.K. Python versus Lua Versus Ruby Python.Lua和Ruby--脚本大P.K. Tom Gutschmidt 著 赖勇浩(http://blog.csdn.net/lanphaday) 译 So which of the three languages is the best to use on your project? That depends a great deal on what you want to
Python使用os.chdir命令切换python工作目录 代码示例: In []: import os In []: os.system("pwd") /home/wangju #当前工作目录 Out[]: In []: os.chdir('/home/wangju/Desktop') #切换工作目录 In []: os.system("pwd") #切换工作目录后 /home/wangju/Desktop Out[]: 参考文档: python将目录切换为脚本