Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
69 views
in Technique[技术] by (71.8m points)

python 3.x - What can be a reason of working dir override?

If I do python3 -c "import os; print(os.getcwd())" it gives me correct current working directory.

But if I print it in the code from the projects module it gives me /usr/local/Cellar/[email protected]/3.7.9/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/Resources

What can be a reason of working dir override?

question from:https://stackoverflow.com/questions/65866305/what-can-be-a-reason-of-working-dir-override

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...