常用命令1

OS库

os.path.exists()    #判断一个目录或文件是否存在
os.listdir()    #遍历目录
os.remove()    #删除文件
os.path.basename()    #只显示文件名,带后缀
os.path.splitext()[0]    #对于文件名,去掉后缀

cmd命令

blender --background --python "D:/Blender Foundation/Blender2.79a/render_off.py"

训练

CUDA_VISIBLE_DEVICES=0,1,2 python examples/recon/train.py -eid recon

你可能感兴趣的:(python)