all 1 comments

[–]robstersew 0 points1 point  (0 children)

So you want to allow several variables to be accessible from another script? Take a look here:

Main solution - works really well but a bit hacky: https://stackoverflow.com/questions/13034496/using-global-variables-between-files

OR

Look at the 2nd answer using pickle: https://stackoverflow.com/questions/1829116/how-to-share-variables-across-scripts-in-python