* Asrarahmed Kadri <[EMAIL PROTECTED]> [2006-10-22 20:19]: > Can somebody explain getopt function using a simple example.. > > Thanks..
This really does have a good example of usage http://docs.python.org/lib/module-getopt.html Essentially, you define options and arguments and what you expect to see from them, then the for o, a in opts: section is used to replace default values with information from the commandline. -- David Rock [EMAIL PROTECTED] _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor