PyTricks

所属分类:编程语言基础
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2023-02-25 10:51:09
上 传 者sh-1993
说明:  Python编程语言不太流行的功能和技巧的集合
(Collection of less popular features and tricks for the Python programming language)

文件列表:
.travis.yml (550, 2020-12-24)
CONTRIBUTORS (1079, 2020-12-24)
LICENSE.txt (1068, 2020-12-24)
PyTrickBase.txt (62, 2020-12-24)
argumentunpacking.py (421, 2020-12-24)
boolasint.py (181, 2020-12-24)
boolfast.py (809, 2020-12-24)
boolisslow.py (772, 2020-12-24)
boolisslow.py2 (94, 2020-12-24)
cacheproperty.py (614, 2020-12-24)
calculator.py (430, 2020-12-24)
chainedcomparison.py (121, 2020-12-24)
codetofunction.py (612, 2020-12-24)
common_seq_method.py (497, 2020-12-24)
concatenatestrings.py (272, 2020-12-24)
conditionalassignment.py (476, 2020-12-24)
conditionalfunctioncall.py (223, 2020-12-24)
contextmanagers.py (838, 2020-12-24)
controlwhitespaces.py (510, 2020-12-24)
copylist.py (730, 2020-12-24)
deck_as_list.py (784, 2020-12-24)
dictdefaultvalue.py (762, 2020-12-24)
dictionaryget.py (131, 2020-12-24)
dictsortbyvalue.py (451, 2020-12-24)
dictswapkeysvalues.py (230, 2020-12-24)
exec.py (169, 2020-12-24)
extendediterableunpacking.py3 (227, 2020-12-24)
flattenlist.py (463, 2020-12-24)
flattenlist.py2 (133, 2020-12-24)
flattenlist.py3 (189, 2020-12-24)
forelse.py (205, 2020-12-24)
ifelsecommentswitch.py (651, 2020-12-24)
keydefaultdict.py (442, 2020-12-24)
listtocommaseparated.py (318, 2020-12-24)
loopoverlappingdicts.py (193, 2020-12-24)
loopoverlappingdicts.py3 (321, 2020-12-24)
maxsplit.py (204, 2020-12-24)
merge_dict.py (73, 2020-12-24)
merge_dict.py3 (106, 2020-12-24)
... ...

[![Build Status](https://travis-ci.org/brennerm/PyTricks.svg?branch=master)](https://travis-ci.org/brennerm/PyTricks) ## Intention Creating a knowledge base of unpopular Python built-in features to save a lot of unnecessary code. ## Contribute Feel free to use the PyTrickBase.txt as a starting point. 1. Pull request: Send a pull request with your PyTrick, containing example code and a documentation one-liner. Be sure to add yourself to the contributors. 2. Issue comment: Add your Python snippet and your documentation as a comment on Issue#1. I will take care of adding your PyTrick and you as a contributor. ### Requirements - only use the standard Python library - compared to the "general approach": - improve readability - improve performance - implement functionality in a shorter way ## Contact 1. message me at [@__brennerm](https://twitter.com/__brennerm) 2. send an email to xam.rennerb@gmail.com

近期下载者

相关文件


收藏者