Python类型代码生成器
mapargs的Python项目详细描述
usage: mapargs [-h] infile positional arguments: infile optional arguments: -h, --help show this help message and exit
示例
Python
从命令行读取输入:
^{pr2}$field1: str b: int c: float
输出:
field1=source.field1, b=source.b, c=source.c,
去
从命令行读取输入:
^{pr2}$按<Ctrl-d>结束输入。在
field1: str b: int c: float
按<Ctrl-d>结束输入。在
输出:
ID: source.ID, Field2: source.Field2, c: source.c,
- 项目
标签: