Message169979
| Author |
bethard |
| Recipients |
ZhuangZi, bethard, r.david.murray |
| Date |
2012年09月07日.07:29:13 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1347002954.26.0.549850811141.issue15874@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
You could try declaring a type converter and using the type= parameter of add_argument. Your type converter could look something like:
def expanded_path(arg):
return os.path.expandvars(arg)
Would that work? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年09月07日 07:29:14 | bethard | set | recipients:
+ bethard, r.david.murray, ZhuangZi |
| 2012年09月07日 07:29:14 | bethard | set | messageid: <1347002954.26.0.549850811141.issue15874@psf.upfronthosting.co.za> |
| 2012年09月07日 07:29:13 | bethard | link | issue15874 messages |
| 2012年09月07日 07:29:13 | bethard | create |
|