pythonista-weekly : Pyw 433

欢迎阅读"pythonista周刊"第433期. Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-433 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): python开发者都需要的Vettery Vettery是一个招聘网站,它改变了人们应聘或者雇佣的方式. 准备好换工作地方了吗?免费制作简历,你的薪资你说了算,现在就和顶级雇主的HR联系吧! ...

2020-01-25 · 6 min · 2515 words · ZoomQuiet

Issue 404

404 了啊啊啊啊… 原文: PyCoder’s Weekly - Issue #404 200115 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200115 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. 在N皇后问题上对比 Python, Go 和 C++ (PDF) PASCAL FUA, KRZYSZTOF LIS “Python currently is the dominant language in the field of Machine Learning but is often criticized for being slow to perform certain tasks. In this report, we use the well-known N-queens puzzle as a benchmark to show that once compiled using the Numba compiler it becomes competitive with C++ and Go in terms of execution speed while still allowing for very fast prototyping.” (是也乎: 叕一则对比 ) Codemodding Python: 将 Unittest 断言声明为 Python 断言 HANS-WILHELM WARLO Large codebases require continued maintenance, but it is time-consuming and cumbersome to change portions of code scattered around many files. This article shows how to write codemods to refactor Python code using its Abstract Syntax Tree—gaining far more granular control than basic regex and search-replace. Arcade: Python 游戏框架入门 REAL PYTHON In this step-by-step tutorial, you’ll learn how to use arcade, a modern Python framework for crafting games with compelling graphics and sound. Object-oriented and built for Python 3.6 and up, arcade provides you a modern set of tools for crafting great Python game experiences. (是也乎: ) 创建一个简单的 Python Pip 存储库 JAN-PIET MENS “I wanted the simplest (i.e. most lightweight) possible repository capable of serving packages in such a way as that Python’s pip would be able to install them.” 编写多语言脚本 NKANAEV.GITHUB.IO Python and Ruby have somewhat similar syntaxes, could you come up with a program that’s valid in both languages? 讨论 Discussions NIL ...

2020-01-23 · 3 min · 1366 words · ZoomQuiet

pythonista-weekly : Pyw 432

欢迎阅读"pythonista周刊"第432期. Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-432 翻译:Dustyposa 来自赞助商(PS:原文的赞助商) 使用 Datadog 监控你的python指标,日志,集群分析. 使用Datadog的应用分析,可以深入任何纬度并且能找到你所需要的信息,来进行动态诊断和快速故障排除. [马上跟踪你的python应用吧!免费试用14天哦!]( ...

2020-01-18 · 5 min · 2070 words · ZoomQuiet

Issue 403

监狱中学 Python 改变人生 原文: PyCoder’s Weekly - Issue #403 200115 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200115 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. A coverage.py 调试求助 NED BATCHELDER Ned was getting reports for a mysterious disk I/O bug in the latest coverage.py release and asked the community for help. Read the crowd-sourced diagnosis on Hacker News and Ned’s follow-up post next. What a journey… (是也乎: 最喜欢这种故事了…总是展现出软件工程的诗意来 ) The “No Code” 妄想 ALEX HUDSON 观点 “2020 is going to be the year of ’no code’: the movement that say you can write business logic and even entire applications without having the training of a software developer. I empathise with people doing this, and I think some of the ’no code’ tools are great. But I also thing it’s wrong at heart.” (是也乎: 机械代码->编译代码->高级代码->DSL->低代码->无码科技… 嗯哼,突然 发现 fenng 的前瞻能力哪 ) Python 如何实现超长整数? ARPIT BHAYANI “Python must be doing something beautiful internally to support super long integers and today we find out what’s under the hood. The article goes in-depth to explain design, storage, and operations on super long integers as implemented by Python.” Python GUI 编程学习路径 REAL PYTHON Does your Python program need a Graphical User Interface (GUI)? With this free learning path you’ll develop your Python GUI programming skills from scratch. Covers Tkinter, PyQt, wxPython, and Kivy. (是也乎: 图形界面开发之路… ) Mercurial’s 的 Python 3 之旅和思考 GREGORY SZORC Lessons learned from Mercurial’s Python 3 porting effort and a more opinionated commentary of the transition to Python 3 and the Python language ecosystem as a whole. A great read about the mechanics of porting a large Python project to Python 3. (是也乎: hg 真心命不好, 就是因为爹没 Linus 知名,所以, 这么好的 DVCS 工具, 一直被 git 压制. 但是,真正好用, 俺一直在服务端配置 hg 内置 web 服务来配合 hooks, 完成要很多其它工具配合才能完成的自动化并版本化配置同步. ) 用 super() 增强 Python OOP 代码 REAL PYTHON video How to leverage single and multiple inheritance in your object-oriented Python code using the built-in super() function. 在监狱中俺从 Python 学到了什么 SHADEED WALLACE-STEPTER How open source programming can offer opportunities after incarceration. (是也乎: 社区, 永远是社区的力量… ) Pandas 1.0.0 新功能 PANDAS.IO 讨论 Discussions ...

2020-01-15 · 5 min · 2013 words · ZoomQuiet