Wed, 29 Nov 2023 14:34:13 +0100
Updated source code documentation.
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 | |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
142 | <dt><i>filename</i></dt> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
143 | <dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
144 | name of the file with extension (str) |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
145 | </dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
146 | <dt><i>source</i></dt> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
147 | <dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
148 | of the file (str) |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
149 | </dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
150 | <dt><i>editor</i></dt> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
151 | <dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
152 | reference to the editor, if the file is opened |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
153 | already (Editor object) |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
154 | </dd> |
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 | <dl> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
157 | <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
|
158 | <dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
159 | Python version if file is Python3 (int) |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
160 | </dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
161 | </dl> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
162 | <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
|
163 | <hr /> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
164 | <hr /> |
10358
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
165 | <a NAME="getExePath" ID="getExePath"></a> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
166 | <h2>getExePath</h2> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
167 | <b>getExePath</b>(<i>branch, access, versionStr</i>) |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
168 | |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
169 | <div align="right"><a href="#top">Up</a></div> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
170 | <hr /> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
171 | <hr /> |
9624
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
172 | <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
|
173 | <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
|
174 | <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
|
175 | |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
176 | <p> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
177 | 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
|
178 | </p> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
179 | <dl> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
180 | <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
|
181 | <dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
182 | 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
|
183 | </dd> |
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 | <dl> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
186 | <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
|
187 | <dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
188 | str |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
189 | </dd> |
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 | <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
|
192 | <hr /> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
193 | <hr /> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
194 | <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
|
195 | <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
|
196 | <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
|
197 | |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
198 | <p> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
199 | 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
|
200 | </p> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
201 | <dl> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
202 | <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
|
203 | <dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
204 | path to the Python library (string) |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
205 | </dd> |
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 | <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
|
208 | <hr /> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
209 | <hr /> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
210 | <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
|
211 | <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
|
212 | <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
|
213 | |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
214 | <p> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
215 | 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
|
216 | </p> |
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 | <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
|
219 | <dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
220 | 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
|
221 | </dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
222 | </dl> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
223 | <dl> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
224 | <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
|
225 | <dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
226 | str |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
227 | </dd> |
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 | <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
|
230 | <hr /> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
231 | <hr /> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
232 | <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
|
233 | <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
|
234 | <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
|
235 | |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
236 | <p> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
237 | 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
|
238 | </p> |
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 | <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
|
241 | <dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
242 | 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
|
243 | </dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
244 | </dl> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
245 | <dl> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
246 | <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
|
247 | <dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
248 | str |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
249 | </dd> |
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 | <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
|
252 | <hr /> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
253 | <hr /> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
254 | <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
|
255 | <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
|
256 | <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
|
257 | |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
258 | <p> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
259 | 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
|
260 | </p> |
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 | <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
|
263 | <dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
264 | An integer representing major and minor version number (integer) |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
265 | </dd> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
266 | </dl> |
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
267 | <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
|
268 | <hr /> |
10358
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
269 | <hr /> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
270 | <a NAME="searchInterpreters" ID="searchInterpreters"></a> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
271 | <h2>searchInterpreters</h2> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
272 | <b>searchInterpreters</b>(<i>environments=None</i>) |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
273 | |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
274 | <p> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
275 | 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
|
276 | executable search path (i.e. PATH) (Windows variant). |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
277 | </p> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
278 | <dl> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
279 | |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
280 | <dt><i>environments</i> (list of str (optional))</dt> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
281 | <dd> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
282 | list of environment directories to scan for Python interpreters |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
283 | (defaults to None) |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
284 | </dd> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
285 | </dl> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
286 | <dl> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
287 | <dt>Return:</dt> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
288 | <dd> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
289 | list of found interpreter executables |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
290 | </dd> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
291 | </dl> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
292 | <dl> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
293 | <dt>Return Type:</dt> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
294 | <dd> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
295 | list of str |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
296 | </dd> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
297 | </dl> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
298 | <div align="right"><a href="#top">Up</a></div> |
957c9de01d42
Updated source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9624
diff
changeset
|
299 | <hr /> |
9624
b47dfa7a137d
Refactored the Utilities and Globals modules in order to enhance the maintainability.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
300 | </body></html> |