values.get(input) - create list from input
Project description
Installation
$ [sudo] pip install values
Functions
function | __doc__ |
---|---|
values.get(input) |
return a list with input values or [] if input is None |
Examples
>>> import values
>>> values.get(1)
[1]
>>> values.get("string")
["string"]
>>> values.get([1,2])
[1,2]
>>> values.get(None)
[]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
values-2019.3.24.tar.gz
(1.3 kB
view hashes)
Built Distribution
values-2019.3.24-py2.py3-none-any.whl
(187.5 kB
view hashes)
Close
Hashes for values-2019.3.24-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d47cf89535c00dfb880971ddebf20d796ea020bd70d323b7c98e731694f2023 |
|
MD5 | 69b1671209d549f9fb71ad42d9b19dbd |
|
BLAKE2b-256 | a9266f817e64e930aa7f9b6f79370f5d59d52821cfc53fe8598531f7ddcb7fa7 |