Re: [Tutor] opts and try except

2005-11-20 Thread Johan Geldenhuys
Maybe this recipe will help. Here I used and tested the arguments that the user must enter before using the module: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440476 Johan Eric Walker wrote: >All, >I have a program now that works just like I want it. Now I want to >integerate som

Re: [Tutor] opts and try except

2005-11-17 Thread Danny Yoo
On Thu, 17 Nov 2005, Eric Walker wrote: > I have a program now that works just like I want it. Now I want to > integerate something to say print usage info when the user puts in the > wrong number or type of options. Also print usage say if you type > program name and -h or -H. I currently just

[Tutor] opts and try except

2005-11-17 Thread Eric Walker
All, I have a program now that works just like I want it. Now I want to integerate something to say print usage info when the user puts in the wrong number or type of options. Also print usage say if you type program name and -h or -H. I currently just have functions defined and at the bottom ma