write2list
A simple python package which accepts a Tuple of Lists and converts it to a List. I wrote this to learn how custom packages work in Python. Here is the quick difference between a Tuple and a List-
| Tuple | List |
|---|---|
| Immutable bindings | Mutable via Append and Extend |
How to use?
pip install write2list
# test.py
import write2list
exampleTuple=(["Hi I am the first example list"], ["123456"], ["Wow these are one too many lists for a simple example. Let's end this object here."])
resultList=write2list.create(exampleTuple)
print(resultList)
python test.py
['Hi I am the first example list', '123456', "Wow these are one too many lists for a simple example. Let's end this object here."]
Metadata
Release files for write2list 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| write2list-1.1.tar.gz | 1.7 kB | Details |
Release files / write2list-1.1.tar.gz
| Download URL | write2list-1.1.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7df54ad666a785b77efe813dac8f66e723732c9a96a113d787c8bd3d2c8df498
|
|
BLAKE2b-256 checksum How to use checksums |
1fcc06189e4d98d2d3cb9daf04f6d8422500aa39e661711be317c0ebc5e055aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
|