python os.getcwd()和__file__区别

os.getcwd()是跟着主调用函数走的

__file__是跟着自己文件走的

posted @ 2022-06-20 10:25  笨笨和呆呆  阅读(48)  评论(0)    收藏  举报