Check Current Environment Python Programming