首页 > 解决方案 > 在 Python 中导出文件路径

问题描述

我想设置一个特定的导出文件路径文件夹,即:D//working/files,如何调整下面的脚本部分以将导出从通用默认文件夹移动到新的文件路径?谢谢。

#
# Export layer to DXF format
#
vulcan_gui.start_busy_message('Exporting to {}'.format(output_dxf))
shellcommand = 'dgd2dwg {} -o -f DXF -b {} -c {}'.format(output_dxf,dgd_file,output_layer)
subprocess.Popen(shellcommand, shell=True).wait()
vulcan_gui.end_busy_message()

标签: pythonexport

解决方案


推荐阅读