How to pass options to an extension
M.-A. Lemburg
mal at lemburg.com
Fri Sep 3 07:56:40 EDT 1999
Marc POINOT wrote:
>
> Our extension module has a getopt()-like class (C++).
> It is used to drive some of the toolkit options. How can
> I pass my option through the python interpreter without
> making it stop on my --<module-option-do-not-care> ?
Could you be a bit more verbose about what exactly you want ?
Perhaps you are looking for PySys_SetArgv (int argc, char **argv) ?
--
Marc-Andre Lemburg
______________________________________________________________________
Y2000: 123 days left
Business: http://www.lemburg.com/
Python Pages: http://www.lemburg.com/python/
More information about the Python-list
mailing list