Message107620
| Author |
bcward |
| Recipients |
bcward |
| Date |
2010年06月12日.01:04:21 |
| SpamBayes Score |
0.024138123 |
| Marked as misclassified |
No |
| Message-id |
<1276304664.09.0.271886619191.issue8979@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It would be convenient to be able to access the resultant options from optparse using the syntax
options['some_option']
instead of options.some_option
Or additionally it would be nice to have a way to produce a dictionary of the options. This would be nice to have to do something to the effect of
dictOptions = options.to_dict()
obj = SomeObject(**dictOptions) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年06月12日 01:04:24 | bcward | set | recipients:
+ bcward |
| 2010年06月12日 01:04:24 | bcward | set | messageid: <1276304664.09.0.271886619191.issue8979@psf.upfronthosting.co.za> |
| 2010年06月12日 01:04:22 | bcward | link | issue8979 messages |
| 2010年06月12日 01:04:21 | bcward | create |
|