Maybe it's because I learned Python through Google search only what I needed then
There's no foundation <
To ask you a question,
We set up a Python workspace and use it
My .py files are gathered in Python Project
The directory is set to pythonProject and is coding.
In this state,
Make another folder in the subfile (.idea), and in it, an Excel file called new
When you want to load, is there only a way to change directories? TT
Even if I search, I can't find the search results because I'm a beginner
Summary: Using python Project as a working directory, but still using the excels in subfolders Can I get him?python
open(os.path.dirname(os.path.realpath(__file__)) + "\\.idea\\" + "new")
Are you talking about this?
© 2022 pinfo. All rights reserved.