ps54713 wrote: > > Is there a way to encrypt a text box field, coz i need to do this for > the password field. > I shall really appreacite it. In CGI/HTML? <input type="password" name="user_password"> In wxPython? #!/usr/bin/env python from wxPython.wx import * class MyApp( wxApp ): def getPassword( self ): # Store password in instance variable self.password = wxGetPasswordFromUser( "Please enter password", "Password dialog", "", NULL ) def OnInit( self ): self.getPassword() print "The user entered tne password", self.password return true app = MyApp(0) app.MainLoop() In TkInter, I do not know. Gerhard PS: When asking questions on usenet, you usually get the most useful answers if the question is clear about which context it refers to (in your case: which GUI toolkit are you using, or do you want to make a password dialog with Python/CGI or even console?) -- Sorry for the fake email, please use the real one below to reply. contact: g e r h a r d @ b i g f o o t . d e web: http://highqualdev.com
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4