Skip to content

Conversation

@callerin
Copy link

将文件保存路径加入path,避免VScode直接打开运行报错

location = os.path.dirname(sys.argv[0])
os.chdir(location)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant