~ 文章, Blog, 教程...

It's been 2 years of curating ImportPython and today is the 100th Issue. Wow. What a moment ?. Here is a python quiz competition. Five random() participants who answer all questions correctly win complete bundle of Writing Idiomatic python book by Jeff Knupp. If you take the quiz at the end of it is a link with discount too. This quiz is an our attempt at having fun and saying thanks to all you readers of ImportPython. Do take to twitter with the hashtag #importpython100 happy to hear what you have to say.

(是也乎: 追查了一下, 2014-09-25 开始快译 蠎加载 的, 嗯哼,2012-02-17 开始翻译 蠎周刊 的, 当然 蠎周刊 之前有朋友翻译过前20期,俺是从 77 期开始坚持翻译到 200期,引人了新的快译小伙伴,老高, 然后,重心转移到 蠎加载; 风格也从之前正文的翻译,慢慢变成了主要进行 是也乎 的点评; 不变的是很少有人提交 PR,想来也是因为这种周刊,实在只是个定时 技术新闻点收集, 时效性太强,大家参与进来,并不能获得类似伟大的 字幕组 那种可以长期流传,洗脑天下的乐趣. 之于俺和小伙伴,最大的收获的确也就是:

  • 定期翻译,形成周自学节奏
  • 了解 Python 领域的主流变化
  • 积累 Python 技术演化趋势概念
  • 架构选型时帮助扩大思考范围
  • ...

简单的说,定期快译一个技术新闻周刊,是种非常好的强迫自学的形式; 并不特别强烈的建议大家都来加入这种自学,毕竟太散了... 但是,的确是一个有效无意识提高领域技术语感的好形式.


Minimal and clean examples of machine learning algorithms

pip install --upgrade git+git:// and you are done.


现代语言生态的标志行为:加载 github )

Simple code snippets showing how iterators and generators work in Python.

This blog post provides an introduction to unit testing a Flask application. I’ve been on a big unit testing kick at work recently which is spilling over into updating the unit tests for my personal projects. Therefore, I thought it would be a good time to document the basics of unit testing a Flask application.


是的 Flask 的单元测试生态并没有兴起... )

The following steps will install TensorFlow1 on a fresh Digital Ocean virtual machine running Ubuntu.


数字海洋是唯一一个 AWS/GCP 之外最有成功相的 *aaS 厂商了 )

This specific post will discuss how to do financial modeling in pandas instead of Excel. For this example, I will build a simple amortization table in pandas and show how to model various outcomes.


谁说社科生不玩程序的?! 这在经济领域现在是必须的强项了... )

This week I ran into a minor problem that took a surprising amount of time to resolve. Getting a Django template to produce a dict in sorted order. While there were answers out there, none seemed to match the environment that I am using (python 3, Django 1.10). After some experimentation, I finally came up with what I think is a good solution.


Django 中的模板看起来什么都能作,其实... )

In this tutorial, we’ll show you how to perform web scraping using Python 3 and the BeautifulSoup library. We’ll be scraping weather forecasts from the National Weather Service, and then analyzing them using the Pandas library.


国家天气局的数据抓取整理后给 美汤 分析. )

I first wrote a Python script to make a GIF illustration for any 5-unit color scheme.


GIFs )

Regular expressions are the standard for string processing, but did you know you can often get better text untangling with Pynini's finite-state transducers ?


利用 Pynini 的有限状态机来替代正则表达式来处理文本. )

This post is high level description of how CPython (just Python below) manages object life cycle.


在冯机框架之内, 执行效率总是得面对内存这一物理结构的额外问题 )

"There is high probability that Python 3 is such a failure it will kill Python" - Zed Shaw. As Curator of a Python Newsletter for 2+ years I can tell you at-least 20-30% of all articles I read of late have code written only for Python 3. Just recently I was at Pycon India and met lot of student who never wrote a single line in 2.x. Startup founders starting with new development choosing Python 3. Lot of people are sleeping on Python 3. A year more and hopefully everyone will be awake.


全球只有印度沉浸在 Py 3 的世界中..嗯哼,为什么?!

何况 Py 3 不是图灵完备的... )

Take your introductory knowledge of Python programming to the next level and learn how to use Python 3 for your research. You will learn Python 3 programming basics, Python tools (e.g., NumPy and SciPy modules) for research applications, How to apply Python research tools in practical settings.


介绍学界在 py 3 生态中如何进行研究 )

Have you ever noticed how stock photography sites add watermarks to the images shown on their catalogs ? They do that to make sure people don’t just take the free samples and use them without proper licensing. Turns out this is pretty easy to do it with Pillow.

The article starts of with an introduction snippet to decorators and then goes on to explore some real world examples in context of Django. Personally one good find in the article was boltons library.

Start a free JIRA Software trial and get this shirt.


收购 的靠谱软件管理开发商. )


~ 包/模块/库/片段...

A Pipfile, and its related Pipfile.lock, are a new (and much better!) replacement for pip's requirements.txt files.


又一个 requirements.txt 的替代品 )

Write with those green dots on your GitHub profile. This takes a message, encodes it to a simple bitmap font, and generates a bunch of git commits in the past.


greendots )

A Trie, (also known as a prefix tree) is a special type of tree used to store associative data structures. A trie (pronounced try) gets its name from retrieval?—?its structure makes it a stellar matching algorithm. Repository for the article


前缀树之类的数据结构和算法的折腾 )

financial_life is an opinionated framework written in Python that allows to simulate monetary flows between different types of accounts. These simulations allow a deeper understanding of financial plans and a better comparison of financial products (in particular loan conditions) for personal circumstances. With financial_life you can


financial_life 是 Python 构建的模拟不同类型帐户货币流动的框架, 用以进行金融产品的设计实验...


An example project for configuring Djcelery with Flask application and dynamically changing tasks via REST API and through django admin.


自动打通 Falsk 和 Django 应用的框架. )


~ ( ̄▽ ̄) 这么快就100期了?!


这真是一个悲哀的故事... )



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

订阅 substack 体验古早写作:

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


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