原文: PyCoder's Weekly - Issue #363

realpython


This PEP introduces a new syntax, /, for specifying positional-only parameters in Python function definitions. Looks useful for getting tighter control over how a library API can be called (i.e. preventing positional params from being called as keyword arguments). This will also allow for some function call speed optimizations in the future.

(是也乎:

严格参数传输,以便优化...反正就是越来越 C++ 呗...

老爹一退休就乱来. )

In this series you'll see how to use some lesser-used but idiomatic Pandas capabilities that lend your code better readability, versatility, and speed.

(是也乎:

忘记的就是不重要的
不知道的就是不必要
当然世界并不是这样
( ̄▽ ̄)

)

PyCharm is the Python IDE for Professional Developers by JetBrains providing a complete set of tools for productive Python, Web and scientific development. Be more productive and save time while PyCharm takes care of the routine.

(是也乎:

通过 IDE 变成 guru ?

喝多了...

)

How to avoid shared global state when using the functools.lru_cache decorator from the standard library.

CPython 3.7 has a new feature (-X importtime) for profiling import time and this article gives you a good overview on how to use this to reduce application startup time.

AvantPy provides friendlier Python tracebacks, translated into various languages, to help beginners learn programming. Right now the project is still in its early stages and the maintainer is looking for contributors.

(是也乎:

早期...寻求志愿者...

只是, 这种追踪代码运行状态, 对于初学有什么帮助?

)

讨论

Discussions

17 feet and 140 pounds! Have we hit Peak Python? I don't think so...

(是也乎:

17英尺, 140磅...嗯哼, 没有州厂重 )

(是也乎:

肿么肥四?

)

文章,教程和嗯哼

Articles, Tutorials and Talks

In this beginner-friendly tutorial, you'll learn how to use pip, the standard package manager for Python, so that you can install and manage additional packages that are not part of the Python standard library.

Short & sweet article where you'll learn a handy pattern for passing extra data to your DRF serializers before saving them to the database.

A quick overview on Python dependency management with PYTHONPATH and virtual environments, and how this approach compares with Golang.

(是也乎:

拿 golang 的经验嗯哼 Python?

现在看来:

用 Pyenv 管理版本

用 miniconda 安装大型模块

pipenv 统一管理模块依赖

可以解决主要问题.

)

How the author got his own Python app on the Ubuntu/Snapcraft app store.

Nina Zakharenko gives some great advice about giving tech talks. This episode is full of great help and encouragement for your own public speaking adventures.

Mike Kennedy and Mike Herman talk about running Django in production in episode #206 of the Talk Python Podcast.

Dask is a library that scales Python computation to multiple cores or multiple machines. Setups running Dask on thousands of machines are not unheard of. This short article gives you a couple of usage examples.

(是也乎:

其实 Jupter 本身也可以

)

Learn how to set up Visual Studio Code for Python development. By following examples, you'll cover everything from installing and configuring VSCode, to running tests and debugging Python apps.

好物

Interesting Projects, Tools and Libraries

(是也乎:

神奇, 自动转化为其它语言代码

)

(是也乎:

浏览器的话, 没有插件体系, 是只能给机器用的...

)

(是也乎:

神奇的作品.

)

(是也乎:

...

真的是绿屋... 还以为是什么代号呢...

结果一看, 是原创自动化暖棚...

用 Python 控制各种传感器以及水肥温度什么的...

村会玩儿

)

Mypy now ships a mypy binary compiled with mypyc by default, which is up to 4x faster than the previous interpreted version. Very cool!

(是也乎:

叕一个死也不 1.0 的

)

📆🐍 活动/大会

Events

(是也乎:

网站根本打开不能

)

DAMA

❤️ Happy Pythonic!

(大妈私人无责任播报)

是也乎

  • 190411 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
  • 190410 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄.

Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...

任何问题

随时邮件提问可也:
askdama@googlegroups.com

-->