This topic created in 2606 days ago, the information mentioned may be changed or developed.
8 replies • 2019-09-15 16:17:55 +08:00
 |
|
你应该是想用__file__吧,而不是_file_
吟唱 python 魔法都要用双下划线开头双下划线结束的,不然施法失败炸了自己
|
 |
|
所以_file_是啥
|
 |
|
看得脑袋疼,尽量 PEP8 一点吧
|
 |
|
个人建议 os 和 os.path 熟悉了之后就不要用了 是不是 pathlib
|