程序猿AIGC"工具包"
Pythonic/ 通用AI辅助心法
more ...Pythonic/ 通用AI辅助心法
more ...原文: Lazy recursion, with generators
来自 蠎周刊 PyCoder 569 ~蠎周刊 ~汇集全球蠎事儿 ;-) 的推荐
此文, 准备研究 Python 的生成器, 并用之来也又和并递归 …
more ...Pythonic/ 字典的神奇功能
more ...来自 @nedbat 的分享:
Ned Batchelder: Loop Like A Native
C样:
i = 0
while i < len(my_list):
v = my_list[i]
print v
i += 1
偏门:
for i in range(len(my_list)):
v = my_list[i]
print v
蠎样:
for v in my_list:
print …
原文: prooffreader plus: How to quickly turn an IPython notebook into a blog post
IPython notebooks are great for many things, but they're a little awkward to embed in blog post platforms like Blogger, Wordpress, etc. When the nbconvert feature was a standalone command-line tool, there was a blog …
more ...原文: prooffreader plus: Top 10 Python idioms I wish I'd learned earlier
Top 10 Python idioms I wish I'd learned earlier
I've been programming all my life, but never been a programmer. Most of my work was done in Visual Basic because it's what I was most comfortable with …
more ...mail
,github
or
gitlab
.
Tip me via
||
(ATOM)