Skip to main content

Printing each items in list (nested or not) on new line with or without required tab spaces/indent

Project description

Refer for commands: https://packaging.python.org/en/latest/tutorials/packaging-projects/#uploading-the-distribution-archives

This function takes a positional arguments called "the_list","indent" and "level", 'the_list' is any Python list (of - possibly - nested lists). Each data item in the provided list is (recursively) printed to the screen on it's own line. A second argument 'indent' is set to default value 'False', which means indentation or tab-stops are not required by-default. If user wants to add indentation while printing the nested list it should be set to 'True'. A Third argument 'level' is used to insert required number of tab_stops when nested list is encountered.

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

nester-package-1.3.1.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.

nester_package-1.3.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file nester-package-1.3.1.tar.gz.

File metadata

  • Download URL: nester-package-1.3.1.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for nester-package-1.3.1.tar.gz
Algorithm Hash digest
SHA256 15970753bf636af4c82ba092c2e8ceaaa7edcca9fb8b956255948da87ee35186
MD5 0994622109d3d9eb96d81ad2ee00bf87
BLAKE2b-256 f52342f460cc415d4dd0b582527e322b62ec8b4e004051758020286935adad9c

See more details on using hashes here.

File details

Details for the file nester_package-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: nester_package-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for nester_package-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c1af4c2cb778f1e3c332505d3dffb4ff65f4b652f4734805348c682d172c13da
MD5 22f5a927277260a326974ec8183346ba
BLAKE2b-256 01c71c576d7566f8be0e38b73c507c53e51056cf712fa85bdb20dbd25fe85165

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