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.5.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.5-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: listele-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 c14cf085288f2214e35f4306a544efc38f549d216c82a9cfb6a7b387c54d4647
MD5 314975f3fab5f44bd0437f21465c48e4
BLAKE2b-256 0668de6cae7ebfac9caced360d91aab345435baa71b2013e45bd187fc20774d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: listele-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 82c85d1576fcf47daf2a1f4433811b02af428038c43236d279e153107c93e3b3
MD5 1bcbd936260112a6ca305776b5db20b4
BLAKE2b-256 60731410096606f16465706cc99bc37a552f8350de48932cbf6c02ac61382f13

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