On Wed, 11 Jan 2006, Burge Kurt wrote:
> I f I want to translate C code to Python and have a function like
>
> void get_args(int argc, char* argv[], Argument* args)
> {
Hi Burge,
Also wanted to note that the Standard Library already contains an
argument-parsing library, so you may want to take advantage of it. The
library is called 'optparse':
http://python.org/doc/lib/module-optparse.html
It's something to keep in mind, just in case during your porting effort
you have the freedom to reuse the Standard Library.
Good luck!
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor