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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
172185dac6ed983facc07c3f0b9632ab5a816e79937081394d4a2ffb2a285be1
|
|
| MD5 |
4c408d7d6df9dadebb5b214fcddc1924
|
|
| BLAKE2b-256 |
d00dffd9ab8280c7cb067d921419a0f837d8a867d3f44a4cfb68666a09e46d45
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
878f0d7232da19dc5824bfbb1021a8d3d83e6853976e9572cd861106804effd5
|
|
| MD5 |
e5dd7fd059d86a460a9a32b927dd6bd6
|
|
| BLAKE2b-256 |
ebf973b79330667c4ad1db6d877ba4d16cdcb3bc025aa6f600b749ed5139de9b
|