A simple parser that will separate a string of would be arguments in the form of key:value
where key and value are strings separated by a colon. This should work for any number of pairs.
Example:
$ example.py key1:value1 key2:value2 key3:this is value3
Would result in a dictionary of:
d { 'key1' : 'value1'
'key2' : 'value2'
'value3 : 'this is value3'
}
where key and value are strings separated by a colon. This should work for any number of pairs.
Example:
$ example.py key1:value1 key2:value2 key3:this is value3
Would result in a dictionary of:
d { 'key1' : 'value1'
'key2' : 'value2'
'value3 : 'this is value3'
}
Release files for parseoncolon 0.09
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| parseoncolon-0.09.tar.gz | 1.3 kB | Details |
Release files / parseoncolon-0.09.tar.gz
| Download URL | parseoncolon-0.09.tar.gz |
|---|---|
| Size | 1.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe6d000493871f66535cb77b473b50d154145296cdc0ba69fc8db79eaf92916e
|
|
BLAKE2b-256 checksum How to use checksums |
ce6bcc075c2144638b7313e5cf7ea49d66ab96e8e891362c9c0a84dd1582a250
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |