python main variable scope