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

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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