[Twisted-Python] Argument handling question?
Jp Calderone
exarkun at divmod.com
Thu Jun 17 02:34:22 EDT 2004
trust_no_1 at spymac.com wrote:
> Fisrt excuse me for my poor english...my mother tongue is french...
>
> It could seems to be an 'idiot' question but my problem is quite simple:
> How do I get / deal with extra parameters (not handled by twistd) from
> the command line launching my app
> example:
> twistd -noy my_first_twist_test.py --misc=i_wanna_get_this
>
twistd does not support this. Configuration is intended to be put
inside "my_first_twist_test.py" directly. If this is not appropriate
for the application, then twistd may not be the appropriate tool to use.
Jp
More information about the Twisted-Python
mailing list