Categories
I have two .py files. I need to import the second file into the first one, how to do it?
For example, there is main.py and project.py I need to import project.py into main.py How can I do this?
Answer the question
In order to leave comments, you need to log in
Use the directive import.
import
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question