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
Ervin Hegedüs wrote:
> Hello,
>
> On Mon, Dec 16, 2013 at 02:55:29AM -0800, Igor Korot wrote:
>> Hi, ALL,
>> Is there a way to make python script that connects to mySQL DB ask for
>> a password on the:
>>
>> conn = mdb.connect(host, user)
>>
>> line.
>> The host variable is "localhost" and the
Hello,
On Mon, Dec 16, 2013 at 02:55:29AM -0800, Igor Korot wrote:
> Hi, ALL,
> Is there a way to make python script that connects to mySQL DB ask for
> a password on the:
>
> conn = mdb.connect(host, user)
>
> line.
> The host variable is "localhost" and the user variable is "root" (for
> devel
Hi, ALL,
Is there a way to make python script that connects to mySQL DB ask for
a password on the:
conn = mdb.connect(host, user)
line.
The host variable is "localhost" and the user variable is "root" (for
developmental purposes).
Thank you.
--
https://mail.python.org/mailman/listinfo/python-li