Re: Check to see if the script has been previously used?

2014-05-27 Thread Chris Angelico
On Tue, May 27, 2014 at 9:05 PM, Dave Angel wrote: > Preferred approach is usually to respond to one of the > conventional argv switches. And let the user decide. Yes, this is a technique I've used when doing up important (and dangerous) MUD commands. The command will be something like "unload

Re: Check to see if the script has been previously used?

2014-05-27 Thread Dave Angel
Chris Angelico Wrote in message: > On Tue, May 27, 2014 at 5:45 PM, KC Sparks wrote: >> I was wondering if there was an extension or way that would allow me to >> print instructions if it is the first the the user has used the script. > > The trickiest part is defining the 'user'. Generally, thi

Re: Check to see if the script has been previously used?

2014-05-27 Thread Chris Angelico
On Tue, May 27, 2014 at 5:45 PM, KC Sparks wrote: > I was wondering if there was an extension or way that would allow me to > print instructions if it is the first the the user has used the script. The trickiest part is defining the 'user'. Generally, this sort of thing is done by creating a file

Check to see if the script has been previously used?

2014-05-27 Thread KC Sparks
Hi, I was wondering if there was an extension or way that would allow me to print instructions if it is the first the the user has used the script. Thanks, KC -- https://mail.python.org/mailman/listinfo/python-list