可期仙器 ->removestar ->自动替换*导入为显式导入

原文: PyCoder's Weekly - Issue #392

PyCoder

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

I've been using Black to automatically format most of my Python code since it came out last year, and it's been an incredibly helpful tool. Stable release coming soon. More about how to use Black here.

(是也乎:

不妥协的...何时 VSCode 们, 内置了 Black 才算得果位哪.

)

In this step-by-step tutorial, you'll learn how to create Graphical User Interface (GUI) applications with Python and PyQt. Once you've covered the basics, you'll build a fully-functional desktop calculator that can respond to user events with concrete actions.

(是也乎:

PyQt

真正上手就会发现, QtDesigner 生成的代码不如手工写的...

以及, 问题在 GUI 软件现在基本都向 WAP 转化了... Electorn 面前, 以及 Flutter 的目标, 都是没 Qt 什么事儿的哪...

)

"To evaluate the performance gains from shared memory, I ran the following simple test—create a list of integers and double each integer in the list in parallel by chunking the list and processing each chunk in parallel." Surprising results!

A quick rundown of the problems you might encounter when switching major Python versions.

(是也乎:

迁移不是问题, 问题是不兼容...

)

讨论

Discussions

NIL

文章,教程和嗯哼

Articles, Tutorials and Talks

Write better code with this step-by-step intro to Python type checking. Traditionally, types have been handled by the Python interpreter in a flexible but implicit way. Recent versions of Python allow you to specify explicit type hints that can be used by different tools to help you develop your code more efficiently.

(是也乎:

Type chk

可以说诚意了...

)

Keras and TensorFlow 2.0 provide you with three methods to implement your own neural network architectures:, Sequential API, Functional API, and Model subclassing. Inside of this tutorial you'll learn how to utilize each of these methods, including how to choose the right API for the job.

Codacy lets developers spend more time shipping code and less time fixing it. Set custom standards and automatically track quality measures like coverage, duplication, complexity and errors. Integrates with GitHub, GitLab and Bitbucket, and works with 28 different languages. Get started today for free →

(是也乎:

这个广告吃的舒心...

)

Al Sweigart is an accomplished developer, conference speaker, teacher, and origamist. But some may know him best for his numerous Python programming books, such as Automate the Boring Stuff with Python.

(是也乎:

Interview

采访...经常不爆料..

)

"It started with a coverage.py issue: Coverage not working for TensorFlow Model call function. A line in the code is executing, but coverage.py marks it as unexecuted. How could that be?"

(是也乎:

有点儿象发动小说中人物来检查场景卫生一般... )

Tips on how to clean up messy currency data in Pandas so that you may convert the data to numeric formats for further analysis.

(是也乎:

数据清洗用 Pandas 本身, 有点累的...

)

An open-source book about Python and OpenGL for Scientific Visualization.

(是也乎:

开源图书, 完备阐述 GL 进行数据可视化时, Python 的嗯哼...

)

(是也乎:

Dockerizing -> Docker 化? 这个化字真的好用... )

(是也乎:

python_int_cache

这个演示动画非常有爱了...

)

(是也乎:

混淆器...有一定作用, 但是和 golang 们编译出来的二进制发行包相比...聊胜于无了...

)

好物

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

这可是救命般的好工具... 只是...这得分析每行代码, 找到任性引用的变量并合理完成针对性声明?

)

(是也乎:

fuzz 测试, 很久没见相关工具出没了... )

📆🐍 活动/大会

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

(是也乎:

怪不得一直感觉 C 国亲切呢...年会也非常中国时段...

)

DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报)

第3期已开课, 为期6周; 191103 按时结束, 届时启动 4py ;-)

是也乎

NN 3816


Comments


大妈的多重宇宙 - YouTube

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

任何问题

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

-->