Where To Define Functions In Python