As the title suggests, I want to import a specific set of variables from a module (I cannot import *, and I don't want to write a long list of variables in the import line of the code).
A better way to explain this - how can I sequence a module that I create in a way that will allow me to import specific blocks of code, for example:
Module:
'''not to import'''
var1 = 'var1'
'''variables to import'''
var2 = 'var2'
'''not to import'''
var3 = 'var3'
File:
from Module import (second block of code)
print(var2)