How to Change directory to the python script directory

后端 未结 0 1592
名媛妹妹
名媛妹妹 2021-01-11 14:38

In batch there is a command %~dp0 which mean change the directory to the script directory, for example: Batch file is in desktop, if you use %~dp0

相关标签:
回答
  • 消灭零回复
提交回复
热议问题