eric7/Documentation/Source/eric7.DebugClients.Python.getpass.html

branch
eric7
changeset 8951
996bb6fea7dd
parent 8596
d64760b2da50
equal deleted inserted replaced
8950:5644299d912e 8951:996bb6fea7dd
44 </table> 44 </table>
45 <hr /> 45 <hr />
46 <hr /> 46 <hr />
47 <a NAME="getpass" ID="getpass"></a> 47 <a NAME="getpass" ID="getpass"></a>
48 <h2>getpass</h2> 48 <h2>getpass</h2>
49 <b>getpass</b>(<i>prompt='Password: '</i>) 49 <b>getpass</b>(<i>prompt='Password: ', stream=None</i>)
50 50
51 <p> 51 <p>
52 Function to prompt for a password, with echo turned off. 52 Function to prompt for a password, with echo turned off.
53 </p> 53 </p>
54 <dl> 54 <dl>
55 55
56 <dt><i>prompt</i> (str)</dt> 56 <dt><i>prompt</i> (str)</dt>
57 <dd> 57 <dd>
58 Prompt to be shown to the user 58 Prompt to be shown to the user
59 </dd>
60 <dt><i>stream</i> (file)</dt>
61 <dd>
62 input stream to read from (ignored)
59 </dd> 63 </dd>
60 </dl> 64 </dl>
61 <dl> 65 <dl>
62 <dt>Return:</dt> 66 <dt>Return:</dt>
63 <dd> 67 <dd>

eric ide

mercurial