title: Is there a way to use variables from another Python file in your main file?
body: <p>I am working on a project where I have to write multiple lists, with no way to go around it. I am trying to figure out a way to have another Python file with all these lists so that the main file, which contains the important code, is clean without excessive lines of lists; i.e. <code>main.py</code> uses lists from <code>lists.py</code> for the program. Is this possible? If not, is there any other way to go about this situation? Thanks.</p>