Python Persistent Variable In Function Start