Skip to content
Advertisement

How to import objects from another module as a list

in moduleA.py:

JavaScript

in moduleB.py, how can I achieve:

JavaScript

Advertisement

Answer

You can’t do this the way you are trying to. You will need to find a different solution to your original problem.

Advertisement