sys.argv[0] how return project's path

前端 未结 0 1438
失恋的感觉
失恋的感觉 2021-01-14 14:15

when i use pytest to do unittest, sys.argv[0] code in a opensource package always return the package path, not my project path, how to let it return my project

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