src/eric7/Documentation/Source/eric7.SystemUtilities.PythonUtilities.html

Thu, 21 Dec 2023 12:03:40 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 21 Dec 2023 12:03:40 +0100
branch
eric7
changeset 10431
64157aeb0312
parent 10358
957c9de01d42
child 10479
856476537696
permissions
-rw-r--r--

Converted some source code documentation to the new style.

9624
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1 <!DOCTYPE html>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2 <html><head>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
3 <title>eric7.SystemUtilities.PythonUtilities</title>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
4 <meta charset="UTF-8">
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
5 <link rel="stylesheet" href="styles.css">
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
6 </head>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
7 <body>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
8 <a NAME="top" ID="top"></a>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
9 <h1>eric7.SystemUtilities.PythonUtilities</h1>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
10
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
11 <p>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
12 Module implementing Python related utility functions.
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
13 </p>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
14 <h3>Global Attributes</h3>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
15
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
16 <table>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
17 <tr><td>None</td></tr>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
18 </table>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
19 <h3>Classes</h3>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
20
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
21 <table>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
22 <tr><td>None</td></tr>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
23 </table>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
24 <h3>Functions</h3>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
25
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
26 <table>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
27
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
28 <tr>
10358
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
29 <td><a href="#__searchInterpreters_Linux">__searchInterpreters_Linux</a></td>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
30 <td>Function to determine a list of all Python interpreters available via the executable search path (i.e.</td>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
31 </tr>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
32 <tr>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
33 <td><a href="#__searchInterpreters_Windows">__searchInterpreters_Windows</a></td>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
34 <td>Function to determine a list of all Python interpreters available via the executable search path (i.e.</td>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
35 </tr>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
36 <tr>
9624
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
37 <td><a href="#determinePythonVersion">determinePythonVersion</a></td>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
38 <td>Function to determine the python version of a given file.</td>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
39 </tr>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
40 <tr>
10358
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
41 <td><a href="#getExePath">getExePath</a></td>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
42 <td></td>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
43 </tr>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
44 <tr>
9624
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
45 <td><a href="#getPythonExecutable">getPythonExecutable</a></td>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
46 <td>Function to determine the path of the (non-windowed) Python executable.</td>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
47 </tr>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
48 <tr>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
49 <td><a href="#getPythonLibPath">getPythonLibPath</a></td>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
50 <td>Function to determine the path to Python's library.</td>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
51 </tr>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
52 <tr>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
53 <td><a href="#getPythonLibraryDirectory">getPythonLibraryDirectory</a></td>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
54 <td>Function to determine the path to Python's library directory.</td>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
55 </tr>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
56 <tr>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
57 <td><a href="#getPythonScriptsDirectory">getPythonScriptsDirectory</a></td>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
58 <td>Function to determine the path to Python's scripts directory.</td>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
59 </tr>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
60 <tr>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
61 <td><a href="#getPythonVersion">getPythonVersion</a></td>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
62 <td>Function to get the Python version (major, minor) as an integer value.</td>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
63 </tr>
10358
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
64 <tr>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
65 <td><a href="#searchInterpreters">searchInterpreters</a></td>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
66 <td>Function to determine a list of all Python interpreters available via the executable search path (i.e.</td>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
67 </tr>
9624
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
68 </table>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
69 <hr />
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
70 <hr />
10358
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
71 <a NAME="__searchInterpreters_Linux" ID="__searchInterpreters_Linux"></a>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
72 <h2>__searchInterpreters_Linux</h2>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
73 <b>__searchInterpreters_Linux</b>(<i>environments=None</i>)
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
74
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
75 <p>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
76 Function to determine a list of all Python interpreters available via the
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
77 executable search path (i.e. PATH) (non Windows variant).
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
78 </p>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
79 <dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
80
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
81 <dt><i>environments</i> (list of str (optional))</dt>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
82 <dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
83 list of environment directories to scan for Python interpreters
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
84 (defaults to None)
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
85 </dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
86 </dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
87 <dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
88 <dt>Return:</dt>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
89 <dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
90 list of found interpreter executables
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
91 </dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
92 </dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
93 <dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
94 <dt>Return Type:</dt>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
95 <dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
96 list of str
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
97 </dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
98 </dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
99 <div align="right"><a href="#top">Up</a></div>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
100 <hr />
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
101 <hr />
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
102 <a NAME="__searchInterpreters_Windows" ID="__searchInterpreters_Windows"></a>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
103 <h2>__searchInterpreters_Windows</h2>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
104 <b>__searchInterpreters_Windows</b>(<i>environments=None</i>)
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
105
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
106 <p>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
107 Function to determine a list of all Python interpreters available via the
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
108 executable search path (i.e. PATH) (Windows variant).
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
109 </p>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
110 <dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
111
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
112 <dt><i>environments</i> (list of str (optional))</dt>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
113 <dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
114 list of environment directories to scan for Python interpreters
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
115 (defaults to None)
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
116 </dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
117 </dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
118 <dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
119 <dt>Return:</dt>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
120 <dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
121 list of found interpreter executables
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
122 </dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
123 </dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
124 <dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
125 <dt>Return Type:</dt>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
126 <dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
127 list of str
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
128 </dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
129 </dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
130 <div align="right"><a href="#top">Up</a></div>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
131 <hr />
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
132 <hr />
9624
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
133 <a NAME="determinePythonVersion" ID="determinePythonVersion"></a>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
134 <h2>determinePythonVersion</h2>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
135 <b>determinePythonVersion</b>(<i>filename, source, editor=None</i>)
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
136
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
137 <p>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
138 Function to determine the python version of a given file.
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
139 </p>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
140 <dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
141
10431
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
142 <dt><i>filename</i> (str)</dt>
9624
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
143 <dd>
10431
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
144 name of the file with extension
9624
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
145 </dd>
10431
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
146 <dt><i>source</i> (str)</dt>
9624
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
147 <dd>
10431
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
148 of the file
9624
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
149 </dd>
10431
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
150 <dt><i>editor</i> (Editor)</dt>
9624
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
151 <dd>
10431
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
152 reference to the editor, if the file is opened already
9624
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
153 </dd>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
154 </dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
155 <dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
156 <dt>Return:</dt>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
157 <dd>
10431
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
158 Python version if file is Python3
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
159 </dd>
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
160 </dl>
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
161 <dl>
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
162 <dt>Return Type:</dt>
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
163 <dd>
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
164 int
9624
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
165 </dd>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
166 </dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
167 <div align="right"><a href="#top">Up</a></div>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
168 <hr />
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
169 <hr />
10358
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
170 <a NAME="getExePath" ID="getExePath"></a>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
171 <h2>getExePath</h2>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
172 <b>getExePath</b>(<i>branch, access, versionStr</i>)
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
173
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
174 <div align="right"><a href="#top">Up</a></div>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
175 <hr />
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
176 <hr />
9624
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
177 <a NAME="getPythonExecutable" ID="getPythonExecutable"></a>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
178 <h2>getPythonExecutable</h2>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
179 <b>getPythonExecutable</b>(<i></i>)
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
180
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
181 <p>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
182 Function to determine the path of the (non-windowed) Python executable.
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
183 </p>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
184 <dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
185 <dt>Return:</dt>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
186 <dd>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
187 path of the Python executable
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
188 </dd>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
189 </dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
190 <dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
191 <dt>Return Type:</dt>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
192 <dd>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
193 str
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
194 </dd>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
195 </dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
196 <div align="right"><a href="#top">Up</a></div>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
197 <hr />
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
198 <hr />
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
199 <a NAME="getPythonLibPath" ID="getPythonLibPath"></a>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
200 <h2>getPythonLibPath</h2>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
201 <b>getPythonLibPath</b>(<i></i>)
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
202
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
203 <p>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
204 Function to determine the path to Python's library.
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
205 </p>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
206 <dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
207 <dt>Return:</dt>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
208 <dd>
10431
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
209 path to the Python library
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
210 </dd>
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
211 </dl>
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
212 <dl>
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
213 <dt>Return Type:</dt>
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
214 <dd>
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
215 str
9624
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
216 </dd>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
217 </dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
218 <div align="right"><a href="#top">Up</a></div>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
219 <hr />
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
220 <hr />
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
221 <a NAME="getPythonLibraryDirectory" ID="getPythonLibraryDirectory"></a>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
222 <h2>getPythonLibraryDirectory</h2>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
223 <b>getPythonLibraryDirectory</b>(<i></i>)
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
224
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
225 <p>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
226 Function to determine the path to Python's library directory.
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
227 </p>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
228 <dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
229 <dt>Return:</dt>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
230 <dd>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
231 path to the Python library directory
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
232 </dd>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
233 </dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
234 <dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
235 <dt>Return Type:</dt>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
236 <dd>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
237 str
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
238 </dd>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
239 </dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
240 <div align="right"><a href="#top">Up</a></div>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
241 <hr />
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
242 <hr />
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
243 <a NAME="getPythonScriptsDirectory" ID="getPythonScriptsDirectory"></a>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
244 <h2>getPythonScriptsDirectory</h2>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
245 <b>getPythonScriptsDirectory</b>(<i></i>)
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
246
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
247 <p>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
248 Function to determine the path to Python's scripts directory.
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
249 </p>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
250 <dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
251 <dt>Return:</dt>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
252 <dd>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
253 path to the Python scripts directory
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
254 </dd>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
255 </dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
256 <dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
257 <dt>Return Type:</dt>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
258 <dd>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
259 str
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
260 </dd>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
261 </dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
262 <div align="right"><a href="#top">Up</a></div>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
263 <hr />
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
264 <hr />
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
265 <a NAME="getPythonVersion" ID="getPythonVersion"></a>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
266 <h2>getPythonVersion</h2>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
267 <b>getPythonVersion</b>(<i></i>)
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
268
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
269 <p>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
270 Function to get the Python version (major, minor) as an integer value.
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
271 </p>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
272 <dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
273 <dt>Return:</dt>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
274 <dd>
10431
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
275 integer representing major and minor version number
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
276 </dd>
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
277 </dl>
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
278 <dl>
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
279 <dt>Return Type:</dt>
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
280 <dd>
64157aeb0312 Converted some source code documentation to the new style.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10358
diff changeset
281 int
9624
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
282 </dd>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
283 </dl>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
284 <div align="right"><a href="#top">Up</a></div>
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
285 <hr />
10358
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
286 <hr />
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
287 <a NAME="searchInterpreters" ID="searchInterpreters"></a>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
288 <h2>searchInterpreters</h2>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
289 <b>searchInterpreters</b>(<i>environments=None</i>)
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
290
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
291 <p>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
292 Function to determine a list of all Python interpreters available via the
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
293 executable search path (i.e. PATH) (Windows variant).
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
294 </p>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
295 <dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
296
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
297 <dt><i>environments</i> (list of str (optional))</dt>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
298 <dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
299 list of environment directories to scan for Python interpreters
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
300 (defaults to None)
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
301 </dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
302 </dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
303 <dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
304 <dt>Return:</dt>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
305 <dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
306 list of found interpreter executables
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
307 </dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
308 </dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
309 <dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
310 <dt>Return Type:</dt>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
311 <dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
312 list of str
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
313 </dd>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
314 </dl>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
315 <div align="right"><a href="#top">Up</a></div>
957c9de01d42 Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 9624
diff changeset
316 <hr />
9624
b47dfa7a137d Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
317 </body></html>

eric ide

mercurial