Flask 结合 Vue

原文: PyCoder's Weekly - Issue #424


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

Do you want to get started with web scraping using Python? Are you concerned about the potential legal implications? What are the tools required and what are some of the best practices? This week Kimberly Fessel is a guest on the Real Python Podcast to discuss her excellent tutorial created for PyCon 2020 online titled “It’s Officially Legal so Let’s Scrape the Web.”



从 西部世界 中才知道 host 的另外含义.


Dealing with multiple configuration files for a Python application can be stressful. Learn how to take the edge off with a custom workflow centered around the Pydantic library.

Sometimes synchronous and asynchronous code can look very similar. The only difference might be the use of async and await keywords. In this opinion piece, Nikita Sobolev argues that the potential for repeated code is a design fault of Python’s asyncio framework, and describes a solution that allows synchronous Python to execute asynchronous code.

Opendoor, a residential real-estate startup, has quite a few Python services. These services were spread across several git repositories, but Opendoor’s engineering team recently moved them all into a single monorepo. Learn about the challenges the team faced with many repositories and how they set-up their monorepo to solve their problems.


反正 Google 将 Monorepo 玩出花了, 大家就认为 Monorepo 一定香.

其实, 呵呵...


Explore six different was to flatten a list of lists in Python and how their performance compares. The fastest of the six methods mentioned might surprise you!



其实吧, 一般撞不到这么邪的场景.


Ballots were sent out on June 8th.



Avoid big if/else blocks by using the bisect module!


bisect 模块很香.


Spoiler alert: yes! But you probably shouldn’t do that.


Articles, Tutorials and Talks

Wheels are the new standard of Python distribution and are intended to replace “eggs.” This site shows the top 360 most-downloaded packages on PyPI showing which have been uploaded as wheel archives. As of today, 90% of the top Python packages are now available as wheels on PyPI.



叕一次, Python 对卵管理有个新想法.


pytest plugins are an amazing way to supercharge your test suites, leveraging great solutions from people solving test problems all over the world. In this episode of the Test & Code Podcast, Michael Kennedy and Brian Okken discuss 15 favorite plugins that you should know about.


tox 绝对是个被忽视的仙品.


In the previous tutorial in this series, you learned how to perform sophisticated pattern matching using regular expressions, or regexes, in Python. This tutorial explores more regex tools and techniques that are available in Python.


不到万不得以, 能不用就不用->正则表达式


Learn how to read and understand the information you can get from a Python stack traceback. You’ll walk through several examples and see some of the most common tracebacks in Python.



Traceback 是个勤劳的模块.


Kattni Rembor is a creative engineer at Adafruit Industries. In this interview, she talks about her work developing CircuitPython and the role mentorship has played in her career to date. She also shares her advice for anyone looking to start their first hardware project using CircuitPython.



发现外国技术人的眼光都很单纯, 配合一般都很另类的形象.



Learn about three ways to combine Flask and Vue, the pros and cons of each, and some guidelines for when to use each method.


Vue 终于走出国门了.


Learn how to configure a new Django website from scratch to accept one-time payments with Stripe Checkout.

Learn about Python’s Enum type and why you should consider using them in your own programs.


Enums 比 Dict 有更好的形式和更多的操作. )

(( ̄▽ ̄):

除了 print ,被迫上其它调试手段的 Pythonner 都是天使.



Interesting Projects, Tools and Libraries, Projects & Code


疯狂挖掘 Type Hints 用法的, 都是从 C++ 过来的?







早说过: 名称起的好, 项目活的了





叕一个终端增强工具, 智能提示各种 shell 历史指令


📆🐍 活动/大会

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




中国也已经接到有关通知, 允许线下集会申报了...




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

101camp9py 在报名(能开发票 ;-)


    开始报名 2020.5.31
    报名截止 2020.6.21
    正式开课 2020.6.28
    课程结束 2020.8.09

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


NN 4040

好文笔,感叹号年度配额: 1/3



(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)


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

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)

as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)




关于 ~ DebugUself with DAMA ;-)
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:

关注公众号, 持续获得相关各种嗯哼:


**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 扫描预约入群, 学员每满 42 人即启动新一期训练营 ;-)
  • 101camp22.7
  • + 任何问题, 随时邮件提问可也: