Pylance/ VSCode 全新 Python 支持扩展 原文: PyCoder’s Weekly - Issue #428 pycoder

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

  • 发布 Pylance: Visual Studio Code 对 Python 快速/功能丰富的语言支持
    • SAVANNAH OSTROWSKI Pylance is a new Python language server for VS Code based on Microsoft’s Pyright static type checking tool. With Pylance, you get type information in function signatures and when hovering on symbols, auto import suggestions, type checking diagnostics, and so much more! (是也乎: 官方推出更加强大的 Python 支持扩展, 更多的分析, 更多的提示, 以及更多的内存抢占….

俺是什么 Py 支持扩展都不安装的. )

  • Python 异步框架:超越开发者部落
    • TOM CHRISTIE In light of some recent and, at times, heated discussions regarding asynchronous programming in Python, Django Rest Framework’s creator Tom Christie calls on the community to embrace a more collaborative spirit. (是也乎: 在异步大浪中, 没有人原意和同步粘边儿. )
  • 关闭文件的相反观点
    • ARIC COADY
    • opinion You’ve may have heard that the “right” way to open a file in Python is to use the open() function inside of a with statement. But is that always the right choice?
  • Flask 项目设置: TDD/Docker/Postgres/…
    • LEONARDO GIORDANI Learn one way to set-up a Flask project, including how to handle project requirements, configuration and environment variables, writing and running tests, and containerizing the application with Docker. When you’re done reading part one at the link above, check out part two.
  • Django 入门第2部分: 用户管理
    • REAL PYTHON In this step-by-step tutorial, you’ll learn how to extend your Django application with a user management system, complete with email sending and third-party authentication. (是也乎: Django )
  • 用 FastAPI 和 Heroku 部署和托管机器学习模型
    • MICHAEL HERMAN
    • • Shared by Michael Herman Getting machine learning models into production is an often-overlooked topic. Learn how to serve a model in just a handful of lines of Python using FastAPI and Heroku. (是也乎: FastAPI 是好的, Heroku 就嗯哼了… )
  • 2020年 Python 软件基金会董事会选举回顾及后续
    • ERNEST W. DURBIN III (是也乎: DURBIN 三世, 这名字大气哪. )
  • Python 3.9.0b4 已可测试
    • CPYTHON DEV BLOG

讨论

Discussions

文章,教程和嗯哼

Articles, Tutorials and Talks

  • 谎言的迷宫
    • MOSHE ZADKA What should you do after watching 1986’s puppet-laden musical fantasy Labyrinth? Code up the guard scene in Python, of course! After you read Moshe’s solution to the infamous “Two Door Riddle” at the link above, check out Glyph Lefkowitz‘s “professionalized” version of the code. (是也乎: Python 一直没离开过艺术界 )
  • 大量内存开销: Python 中的数字以及 NumPy 如何提供帮助
    • ITAMAR TURNER-TRAURING In Python, everything is an object. Even numbers. While this has advantages, objects have a memory overhead that might be unexpected. While this overhead is often negligible, it might be the difference between 8GB and 35GB in extreme cases.
  • 用 StaticFrame 替代 Pandas 的十个理由
    • CHRISTOPHER ARIZA
    • • Shared by Christopher Ariza For those coming from pandas, StaticFrame offers a more consistent interface and reduces opportunities for error. This article demonstrates ten reasons you might use StaticFrame instead of Pandas.
  • 如何用 Python 筛选器
    • KATHRYN HANCOX Python’s built-in filter() function can be used to create a new iterator from an existing iterable with certain elements removed based on some criterion.
  • 思索 Pandas: Python 数据分析是正确的方法
    • REAL PYTHON
    • podcast Are you using the Python library Pandas the right way? Do you wonder about getting better performance, or how to optimize your data for analysis? What does normalization mean? This week Hannah Stepanek joins the podcast to discuss her new book “Thinking in Pandas”. (是也乎:

正确的路线… 一切都应该在内存中. )

  • 面向对象编程 (OOP) 在 Python 3
    • REAL PYTHON In this freshly updated OOP tutorial, you’ll learn all about object-oriented programming in Python. You’ll learn the basics of the OOP paradigm and cover concepts like classes and inheritance. (是也乎: OOP 嗯哼? 特意看了一下日期… 2020 了, 还要忽悠 OOP 嘛? )
  • 教程: 基于 If-Else 条件将列添加到 Pandas DataFrame
    • CHARLIE CUSTER
    • • Shared by Charlie Custer If you’re new to pandas, you might be tempted to add a column to a DataFrame based on a condition using an if statement. But there’s a better way!
  • Darts: 用 Python 简化时间序列
    • JULIEN HERZEN Darts is a new library from Unit8 that offers a single package for end-to-end machine learning on time series.

好物

Interesting Projects, Tools and Libraries, Projects & Code

Afrikaans (af), Azerbaijani (az), Bosnian (bs), Simplified Chinese (ch_sim), Traditional Chinese (ch_tra), Czech (cs), Welsh (cy), Danish (da), German (de), English (en), Spanish (es), Estonian (et), French (fr), Irish (ga), Croatian (hr), Hungarian (hu), Indonesian (id), Icelandic (is), Italian (it), Japanese (ja), Korean (ko), Kurdish (ku), Latin (la), Lithuanian (lt), Latvian (lv), Maori (mi), Malay (ms), Maltese (mt), Dutch (nl), Norwegian (no), Polish (pl), Portuguese (pt),Romanian (ro), Slovak (sk) (need revisit), Slovenian (sl), Albanian (sq), Swedish (sv),Swahili (sw), Thai (th), Tagalog (tl), Turkish (tr), Uzbek (uz), Vietnamese (vi) )

📆🐍 活动/大会

Events, MeetUp 真的是全球线下活动组织中心

DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报) 101camp10py 开始报名 报名

课程规划:
    报名截止 2020.7.20
    正式开课 2020.7.26
    课程结束 2020.9.06

详情 => 蟒营™ Python 入门班第10期

提醒: 首周报名再优惠 420 元.

PS


NN 4068 好文笔,感叹号年度配额: 1/3 投稿/反馈邮箱: [email protected] (邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越…)


ZoomQuiet/大妈 就是四处 是也乎,( ̄▽ ̄) 的那个大妈:

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)

RPP