Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #62047 > unrolled thread

Re: Python, mySQL and password

Started byErvin Hegedüs <airween@gmail.com>
First post2013-12-16 12:46 +0100
Last post2013-12-16 12:46 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python, mySQL and password Ervin Hegedüs <airween@gmail.com> - 2013-12-16 12:46 +0100

#62047 — Re: Python, mySQL and password

FromErvin Hegedüs <airween@gmail.com>
Date2013-12-16 12:46 +0100
SubjectRe: Python, mySQL and password
Message-ID<mailman.4204.1387194377.18130.python-list@python.org>
Hello Peter,

On Mon, Dec 16, 2013 at 12:38:33PM +0100, Peter Otten wrote:
> Ervin Hegedüs wrote:
> 
> > dsn['passwd'] = raw_input("Enter password for %s: " % (dsn['user']))
> > 
[...]

> > but at this way the password what you type will showing!
> 
> To avoid that use getpass.getpass() instead of raw_input().
> 
> http://docs.python.org/2/library/getpass.html

well, thanks a lot :)


a.
 

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web