Python Variable Scope In Function Start