JetSystemInfo.py revision 8872ef327bd0a801363edf1c6ce8df0b74e51c8d
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
23import sys
24import os
25import string
26import wx
27
28print("")
29print("wxPython Version:")
30print(wx.__version__)
31
32print("")
33print("Python Version:")
34print(sys.version)
35
36print("")
37print("Python Paths:")
38for dir in string.split(os.environ['PYTHONPATH'], os.pathsep):
39    print dir
40
41