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

changeset 3
0d9daebf5b8c
diff -r bc6196164237 -r 0d9daebf5b8c Documentation/Source/eric4.DebugClients.Python.getpass.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric4.DebugClients.Python.getpass.html	Mon Dec 28 16:18:43 2009 +0000
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
+'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
+<html><head>
+<title>eric4.DebugClients.Python.getpass</title>
+<style>
+body {
+    background:white;
+    margin: 0em 1em 10em 1em;
+    color: black;
+}
+
+h1 { color: white; background: #4FA4FF; }
+h2 { color: white; background: #4FA4FF; }
+h3 { color: white; background: #00557F; }
+h4 { color: white; background: #00557F; }
+    
+a { color: #AA5500; }
+
+</style>
+</head>
+<body><a NAME="top" ID="top"></a>
+<h1>eric4.DebugClients.Python.getpass</h1>
+<p>
+Module implementing utilities to get a password and/or the current user name.
+</p><p>
+getpass(prompt) - prompt for a password, with echo turned off
+getuser() - get the user name from the environment or password database
+</p><p>
+This module is a replacement for the one found in the Python distribution. It
+is to provide a debugger compatible variant of the a.m. functions.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>__all__</td></tr><tr><td>default_getpass</td></tr><tr><td>unix_getpass</td></tr><tr><td>win_getpass</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr>
+<td><a href="#getpass">getpass</a></td>
+<td>Function to prompt for a password, with echo turned off.</td>
+</tr><tr>
+<td><a href="#getuser">getuser</a></td>
+<td>Function to get the username from the environment or password database.</td>
+</tr>
+</table>
+<hr /><hr />
+<a NAME="getpass" ID="getpass"></a>
+<h2>getpass</h2>
+<b>getpass</b>(<i>prompt='Password: '</i>)
+<p>
+    Function to prompt for a password, with echo turned off.
+</p><dl>
+<dt><i>prompt</i></dt>
+<dd>
+Prompt to be shown to the user (string)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+Password entered by the user (string)
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
+<a NAME="getuser" ID="getuser"></a>
+<h2>getuser</h2>
+<b>getuser</b>(<i></i>)
+<p>
+    Function to get the username from the environment or password database.
+</p><p>
+    First try various environment variables, then the password
+    database.  This works on Windows as long as USERNAME is set.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+username (string)
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial