Skip to main content

Just a printing listed version function.

Project description

listele Fonksiyonu


def listele(li:list|dict, kolon:int, ljustmz:int=30, *, find:str="", reverse:bool=False)
# Usage example:

from listele import listele

import sysconfig
li = dir(sysconfig)  # list type object
di = sysconfig.get_paths()  # dict type object

print("Output1:")
listele(li, 4)

print("\n\nOutput2:")
listele(li, 4, find="path")

print("\n\nOutput3:")
listele(di, 2, 70)

print("\n\nOutput4:")
listele(di, 1, find="include")

print("\n\nOutput5:")
listele([1, 2, 3, 4, 5], 3, reverse=True)

Kullanım

li kısmına bir iterable verirsiniz (mesela bir dir() ifadesi). Terminalinizde kaç kolon halinde gözükmesini istediğinizi belirtirsiniz. Ve eğer isterseniz yazılan değerler arasındaki uzaklığı değiştirebilirsiniz.

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

listele-0.1.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

listele-0.1.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file listele-0.1.3.tar.gz.

File metadata

  • Download URL: listele-0.1.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for listele-0.1.3.tar.gz
Algorithm Hash digest
SHA256 172185dac6ed983facc07c3f0b9632ab5a816e79937081394d4a2ffb2a285be1
MD5 4c408d7d6df9dadebb5b214fcddc1924
BLAKE2b-256 d00dffd9ab8280c7cb067d921419a0f837d8a867d3f44a4cfb68666a09e46d45

See more details on using hashes here.

File details

Details for the file listele-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: listele-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for listele-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 878f0d7232da19dc5824bfbb1021a8d3d83e6853976e9572cd861106804effd5
MD5 e5dd7fd059d86a460a9a32b927dd6bd6
BLAKE2b-256 ebf973b79330667c4ad1db6d877ba4d16cdcb3bc025aa6f600b749ed5139de9b

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