Skip to main content

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

custom_nester-1.3.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file custom_nester-1.3.0.tar.gz.

File metadata

  • Download URL: custom_nester-1.3.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for custom_nester-1.3.0.tar.gz
Algorithm Hash digest
SHA256 aaff842b7746abb485e44e134ececa48fffa76843c6330fceeeb1573822744c4
MD5 d1d65d512ef0999321ca2434c41d0a03
BLAKE2b-256 0403d7e25093620780a17daf232d99138a1b77aaccc4c8d37be57ef81d3e174e

See more details on using hashes here.

File details

Details for the file custom_nester-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: custom_nester-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for custom_nester-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d6b632af690d87f902b6a354b418ecebf5300c822859cac5cc01ec9730f3bc2
MD5 6ea4c7f2a276c274e01dcbc860e81b1a
BLAKE2b-256 6c86295b270e5e1a79622f086ac400e6677fe985e1e822a4d799a2d90247f202

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page