A simple printer of nested lists
Project description
custom_nester
What is this?
This is a module created basically for test and learning purposes.
print_lol function takes a positional argument called 'the_list', which is any python list
(of, possibly nested lists). Each data item in the provided list is recursively printed
to the screen on its own line. (or into a file)
---Arguments----------(default value)
1st - 'the_list'
2nd - 'indent' is used to activate the indentation. (False)
3rd - 'level' is used to insert tab-stops when a nested list is encontered. (0)
4th - 'print_in' gives us the ability to print the output in separated files or screen. (sys.stdout)
Requirements
- python >= 3.9
Credits
Ariel Denaro
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
custom_nester-1.3.0.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for custom_nester-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d6b632af690d87f902b6a354b418ecebf5300c822859cac5cc01ec9730f3bc2 |
|
MD5 | 6ea4c7f2a276c274e01dcbc860e81b1a |
|
BLAKE2b-256 | 6c86295b270e5e1a79622f086ac400e6677fe985e1e822a4d799a2d90247f202 |