Documentation/Source/eric6.Utilities.__init__.html

changeset 5332
41b32e1636e1
parent 5020
d0afdfd8e45b
child 5586
0e5421d679e7
equal deleted inserted replaced
5331:8d607cd52f26 5332:41b32e1636e1
149 <td>Function to build the filename of a unittest file.</td> 149 <td>Function to build the filename of a unittest file.</td>
150 </tr><tr> 150 </tr><tr>
151 <td><a href="#getUserName">getUserName</a></td> 151 <td><a href="#getUserName">getUserName</a></td>
152 <td>Function to get the user name.</td> 152 <td>Function to get the user name.</td>
153 </tr><tr> 153 </tr><tr>
154 <td><a href="#getWindowsExecutablePath">getWindowsExecutablePath</a></td>
155 <td>Function to build the full path of an executable file from the environment on Windows platforms.</td>
156 </tr><tr>
154 <td><a href="#get_coding">get_coding</a></td> 157 <td><a href="#get_coding">get_coding</a></td>
155 <td>Function to get the coding of a text.</td> 158 <td>Function to get the coding of a text.</td>
156 </tr><tr> 159 </tr><tr>
157 <td><a href="#get_codingBytes">get_codingBytes</a></td> 160 <td><a href="#get_codingBytes">get_codingBytes</a></td>
158 <td>Function to get the coding of a bytes text.</td> 161 <td>Function to get the coding of a bytes text.</td>
1082 user name (string) 1085 user name (string)
1083 </dd> 1086 </dd>
1084 </dl> 1087 </dl>
1085 <div align="right"><a href="#top">Up</a></div> 1088 <div align="right"><a href="#top">Up</a></div>
1086 <hr /><hr /> 1089 <hr /><hr />
1090 <a NAME="getWindowsExecutablePath" ID="getWindowsExecutablePath"></a>
1091 <h2>getWindowsExecutablePath</h2>
1092 <b>getWindowsExecutablePath</b>(<i>file</i>)
1093 <p>
1094 Function to build the full path of an executable file from the environment
1095 on Windows platforms.
1096 </p><p>
1097 First an executable with the extension .exe is searched for, thereafter one
1098 with the extension .bat and finally the given file name as is. The first
1099 match is returned.
1100 </p><dl>
1101 <dt><i>file</i></dt>
1102 <dd>
1103 filename of the executable to check (string)
1104 </dd>
1105 </dl><dl>
1106 <dt>Returns:</dt>
1107 <dd>
1108 full executable name, if the executable file is accessible
1109 via the searchpath defined by the PATH environment variable, or an
1110 empty string otherwise.
1111 </dd>
1112 </dl>
1113 <div align="right"><a href="#top">Up</a></div>
1114 <hr /><hr />
1087 <a NAME="get_coding" ID="get_coding"></a> 1115 <a NAME="get_coding" ID="get_coding"></a>
1088 <h2>get_coding</h2> 1116 <h2>get_coding</h2>
1089 <b>get_coding</b>(<i>text</i>) 1117 <b>get_coding</b>(<i>text</i>)
1090 <p> 1118 <p>
1091 Function to get the coding of a text. 1119 Function to get the coding of a text.

eric ide

mercurial