Skip to main content

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

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

PyPI-nester-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.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyPI-nester-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 PyPI-nester-1.3.1.tar.gz
Algorithm Hash digest
SHA256 ed9d1e5d310513cf1bd3a34c43ec4a11f15d2a7004d61e85014e0e6403c02472
MD5 f3b4f898f408a317ea2b857c4996cb14
BLAKE2b-256 f2091bfb79b61f603395d0e72e8119ed61a27c4392d169ef8090fbddad231f1a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyPI_nester-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 PyPI_nester-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 747692ca56e4fc1fc3b3015bf715d323348555fc334ed4484531e477843feb1f
MD5 fe1a5771cc23e0cf54961f6c42b82686
BLAKE2b-256 2cc1ac03bf6e1ec7230f3f2ecc37d1bf823381f55fa6c3bdf12ca5c17bbaf11c

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