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

Uploaded Python 3

File details

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

File metadata

  • Download URL: listele-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 158114fb69bf75cd942de29fc5a9912159e282831db8e3efcb2754da493f9ede
MD5 8de8eeec05b4f9223129dfcdb2263bbe
BLAKE2b-256 b247c49433aa392d7a8e7f41468050e8b589e4ad43e086bba0ad20886cd3cdb4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: listele-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e73c191c2b2b9c228303820d93c22301d92d0de6a77af777b5d72661fb498311
MD5 50dba73e5634dbe1cc7cf30be3ed8567
BLAKE2b-256 a3922741d350f7ef367bf0a7e169e339fcf986bc5d06bc2ff3c2531a06a2a3ab

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