Python-digest # 18. News, interesting projects, articles and interviews [March 9, 2014 - March 16, 2014]
Come on the latest news about python and nearby technologies. Interesting videos in Russian about django, articles on how to measure code coverage tests, decorators and trees. In general, everyone will find something interesting.
Thanks to owlman75 for the illustration, as well as to all who send news to the tool for creating digests. There are even spammers> <
It's no secret that I collect news, including from the PythonWeekly and PyCoders mailing lists. This time it was a rather funny situation - we were so good at collecting the news that almost all of the materials from the Friday newsletter were in our previous issue. It looks like PythonWeekly is behind the actual news for a week. In addition, announcements of all materials as they are added are available. ')
Articles and Interviews
Tree in one line One-line recursive structure implementations based on defaultdict
Code Coverage Levels The author asks a question about how to measure how much the code is covered with tests and offers answers to these questions, which he learned from the personal experience and the experience of his colleagues.
Decorators Another attempt to clarify what decorators are, this time from Mike Driscoll. Judging by our digest, only a lazy person did not write an article on this topic.
Real-time audio processing The author introduces the principles of operation of the PyAudio module and offers an example of solving one of the sound processing tasks, including using Cython to optimize performance
IDLE code tab supplement The author offers a way to configure IDLE, in which the editor will offer options for auto-completion when you click on the tab when you enter the code
Nginx log analysis Using IPython and statistical modules to get useful data from web server logs
All about parsing web pages Well, not all, of course, but important basic parts and modules are illuminated.
Catch any exceptions in wxPython Traditionally detailed and complete code examples article about one of the subtle nuances of working with the bindings to the popular graphic toolkit
Simple parallel code execution with concurrent.futures This feature is available from version 3.3, and those who want to simplify their parallel code now (even at 2.7) can once again draw attention to the article we covered in one of the previous issues
We program in Python Publisher Peter advertises the latest edition of the book by Michael Dawson in Russian and recommends it as an ideal tool for beginners to learn Python
peepdf - explore pdf A library that allows you to study pdf for correctness, the presence of malicious code, the presence of garbage and incorrect data
bunch - reference to the dictionary as an object The author proposes his own solution implementing the reference to the elements of the dictionary type foo ['bar'] in the object style foo.bar with the provided serialization scripts, support for update, iteration, etc.
Code execution visualization An interesting online tool that allows you to see a graphical diagram of step-by-step code execution
Python 3.3.5 A bug fixer release - including zipimport regression, a problem with the encoding declaration under Windows, the elimination of potential DOS in bytes.decode () and some others
makehuman 1.0.0 MakeHuman is a program for creating three-dimensional models of people for any purpose - illustrations, animation, games. Written entirely in Python
Conferences, events, developer meetings
Dive into IT: spring workshops for razbotchikov in Kazan They promise newcomers help when they dive into the topic, and to experienced docks to open the way to further development, escorting unexpected solutions, little-known features and cunning techniques to the world.
Finish 2 courses: - Web in Python - Advanced Python