Python - Can I import variables from another file as class variables ? : I am trying to find a way to import variables ( dicts) from a file, which will be used inside as class , as class variables. Since I can't use **from myVarFile import *** inside a class, only at the module level, how would I import them as class variables

eg 

from myVarFile import *


class myClass():

    #class variables here
    #should be the data from imported files
    print someImportedVariable

def __init__(self):
    #init here

def someClassFunction(self):
   #needs to access class variables
   self.someImportedVariable


As a test I have tried assigning 'global' to all the variables in myVarFile, and adding global variable names inside the class, this works at the class level. But I cannot get any methods to work at all, eg 

class myClass():

    #class variables here
    #should be the data from imported files
    global someImportedVariable
    print someImportedVariable
    #this works

def __init__(self):
    #init here

def someClassFunction(self):
   #needs to access class variables
   self.someImportedVariable
   #this does not

I wanted to avoid having to globally declare all the variables in each class method, that seems wrong. 

Do methods inherit the class variables if they are globally declared from an imported file ?