[Tutor] login window using Tk

Alexander Etter rhettnaxel at gmail.com
Tue Nov 1 19:09:30 CET 2011


On Nov 1, 2011, at 12:47, Chris Hare <chare at labr.net> wrote:

> 
> I am working on a python Tk program which involves a login window and I am looking for some advice.
> 
> Currently the code I have creates a window (Toplevel) where the login controls are and I am running that using a main loop for the window.  The root window is hidden.  The objective is that when the user ha successfully authenticated, the login window is closed or the main loop os exited and then the root window is shown and the main loop started for the actual application.
> 
> Questions:
> 1.  Is this the best way of doing this or is there a better way?
> 2.  How do I exit the main loop when the user has authenticated?
> 
> Thanks
> 
> Chris Hare
> chare at labr.net
> ____________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor

Hi, hopefully a more experience hacker can provide clarity, but how secure does this login need to be? I dont much about python in DRAM but your login sounds like it could be easily hacked. 
Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111101/102d8d14/attachment-0001.html>


More information about the Tutor mailing list