password protect file

2013-07-01 Thread gmsiders
I was wondering if there was a couple of words or things i could add to the top of my python script to password protect it so that it asks user for the password and then after three tries it locks them out or says "access denied" and closes/ends the script but if they get it wright it proceeds o

Re: password protect file

2013-06-30 Thread Chris Angelico
On Mon, Jul 1, 2013 at 8:17 AM, wrote: > > i just want something simple that basicly asks for a password and then > replies to u if you are wrong nothing hevay just for learning exsperience > -- Then your task is pretty easy. Look up these things in the Python docs: * input (or raw_input if yo

Re: password protect file

2013-06-30 Thread gmsiders
On Sunday, June 30, 2013 2:25:51 PM UTC-5, Modulok wrote: > On Sat, 29 Jun 2013 10:28:47 -0700 (PDT), gmsi...@gmail.com wrote: > > > I was wondering if there was a couple of words or things i > > could add to the top of my python script to password > > > protect it so that it asks user for the pa

Re: password protect file

2013-06-30 Thread Modulok
On Sat, 29 Jun 2013 10:28:47 -0700 (PDT), gmsid...@gmail.com wrote: > I was wondering if there was a couple of words or things i > could add to the top of my python script to password > protect it so that it asks user for the password and then > after three tries it locks them out or says "access >

Re: password protect file

2013-06-30 Thread Peter Pearson
On Sat, 29 Jun 2013 10:28:47 -0700 (PDT), gmsid...@gmail.com wrote: > I was wondering if there was a couple of words or things i > could add to the top of my python script to password > protect it so that it asks user for the password and then > after three tries it locks them out or says "access >