[Tutor] pointers

Burge Kurt burge.kurt at gmail.com
Wed Jan 11 14:19:57 CET 2006

Sorry for the previous message I did it by mistake..
the function was like below:

void get_args(int argc, char* argv[], Argument* args)
    //check the amount of the arguments
    if(argc%2 == 0)
       printf("Error, incorrect argument numbers : %d\n",argc);


My first question about the pointers here; how can I convert them to Python?

And second and may be a little stupid; do I need to define argc how can I
get arguments in python ?

Thanks in advance,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060111/337300c3/attachment.html 

More information about the Tutor mailing list