1 """ 2 File: 3 JetSystemInfo.py 4 5 Contents and purpose: 6 Displays the system info regarding os version, wxPython version, and Python version 7 8 Copyright (c) 2008 Android Open Source Project 9 10 Licensed under the Apache License, Version 2.0 (the "License"); 11 you may not use this file except in compliance with the License. 12 You may obtain a copy of the License at 13 14 http://www.apache.org/licenses/LICENSE-2.0 15 16 Unless required by applicable law or agreed to in writing, software 17 distributed under the License is distributed on an "AS IS" BASIS, 18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 See the License for the specific language governing permissions and 20 limitations under the License. 21 """ 22 23 import sys 24 import os 25 import string 26 import wx 27 28 print("") 29 print("wxPython Version:") 30 print(wx.__version__) 31 32 print("") 33 print("Python Version:") 34 print(sys.version) 35 36 print("") 37 print("Python Paths:") 38 for dir in string.split(os.environ['PYTHONPATH'], os.pathsep): 39 print dir 40 41