How to get the directory of a current script on Spyder (without using '__file__')?

前端 未结 0 1613
不思量自难忘°
不思量自难忘° 2021-01-06 05:34

When I open Spyder (version 4.1.4), it opens a script that I was previously working with. However, the directory is set to \'C:\\\\Users\\\\UserName\' (this is

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