Re: catch argc-argv

2005-06-20 Thread mg
John Machin wrote: >Duncan Booth wrote: > > >>John Machin wrote: >> >> >> >> So, my question is: does the Python API containe fonctions like 'get_argc()' and 'get_argv()' ? >>>If you can't see them in the documentation, they aren't there. If they >>>aren't the

Re: catch argc-argv

2005-06-20 Thread John Machin
Duncan Booth wrote: > John Machin wrote: > > >>>So, my question is: does the Python API containe fonctions like >>>'get_argc()' and 'get_argv()' ? >>> >> >>If you can't see them in the documentation, they aren't there. If they >>aren't there, that's probably for a good reason -- no demand, no us

Re: catch argc-argv

2005-06-20 Thread Duncan Booth
John Machin wrote: >> So, my question is: does the Python API containe fonctions like >> 'get_argc()' and 'get_argv()' ? >> > > If you can't see them in the documentation, they aren't there. If they > aren't there, that's probably for a good reason -- no demand, no use > case. > > Leaving a

Re: catch argc-argv

2005-06-20 Thread John Machin
mg wrote: > Hello, > > I am writting bindings for a FEM application. In one of my function > 'initModulename', called when the module is imported, I would like to > get the argc and argv arguments used in the main function of Python. This is an "interesting" way of writing bindings. Most peopl

Re: catch argc-argv

2005-06-20 Thread mg
Wolfram Kraus wrote: >mg wrote: > > >>Hello, >> >>I am writting bindings for a FEM application. In one of my function >>'initModulename', called when the module is imported, I would like to >>get the argc and argv arguments used in the main function of Python. >>So, my question is: does the P

Re: catch argc-argv

2005-06-19 Thread Wolfram Kraus
mg wrote: > Hello, > > I am writting bindings for a FEM application. In one of my function > 'initModulename', called when the module is imported, I would like to > get the argc and argv arguments used in the main function of Python. > So, my question is: does the Python API containe fonctions

catch argc-argv

2005-06-19 Thread mg
Hello, I am writting bindings for a FEM application. In one of my function 'initModulename', called when the module is imported, I would like to get the argc and argv arguments used in the main function of Python. So, my question is: does the Python API containe fonctions like 'get_argc()' and