O
O
OccamaRazor2017-03-17 23:02:27
Python
OccamaRazor, 2017-03-17 23:02:27

Importing files into main python file?

There are 2 files. In the 1st code should be executed earlier than in the 2nd. How to import the 2nd file correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2017-03-17
@GavriKos

First, the code of the first class, with all the calls, then the import of the second.
But this is a horror and an architectural nightmare and terrible advice.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question