python - 在 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()
解决方案
推荐阅读
- excel - 将 sheet1 中的值与 sheet2 值进行比较
- swift - 反向压缩收藏
- javascript - 检查 n 个数组是否相同长度的最有效方法是什么?
- google-apps-script - 根据日期删除单元格
- node.js - MaxListenersExceededWarning 与一个客户端
- google-cloud-platform - 如何更改谷歌云实例上的 sshd 端口?
- java - 如何在单独的活动中从 RecyclerView 打开图像?
- netsuite - 使用搜索中的公式填充已保存搜索中的 Suitelet 子列表
- javascript - 移动 Safari 上的粘性元素问题
- cmake - 如何在 Tesseract 库 cmakelists.cmake 中包含 Leptonica 库