values.get(input) - create list from input
Project description
Install
$ [sudo] pip install values
Functions
function | description |
---|---|
values.get(input) |
return 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)
[]
readme-md - README.md generator
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-2018.11.20.tar.gz
(1.2 kB
view hashes)
Built Distribution
Close
Hashes for values-2018.11.20-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd54a21907293e1556f1f87329abab32bad3eeb8d216cf64065648fad8041701 |
|
MD5 | c95aa412390d5a67b66fb6fa79122fad |
|
BLAKE2b-256 | d158a72e5484dd5c02bc4200922fcc7b5fd029681c8ed828d4b5e269495278f9 |