Using Environment Variables In Python Definition Function