如何找到当前运行的Python脚本的完整路径?也就是说,我需要做些什么来实现这个目标:
$ pwd /tmp $ python baz.py running from /tmp file is baz.py
python
python ×1