Electronic Localization Functions In Python Programming