How can I work on the contents in multiple folders at once?

Asked 2 years ago, Updated 2 years ago, 16 views

I'm a beginner at Python.

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

2022-09-20 10:42

1 Answers

open(os.path.dirname(os.path.realpath(__file__)) + "\\.idea\\" + "new")

Are you talking about this?


2022-09-20 10:42

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.