Semaphore Community: Mocks and Monkeypatching in Python
This article is brought with ❤ to you by Semaphore.IntroductionIn this post I will look into the essential part of testing — mocks.First of all, what I want to accomplish here is to give you basic...
View ArticleCurtis Miller: An Introduction to Stock Market Data Analysis with Python...
*This post is the second in a two-part series on stock data analysis using Python, based on a lecture I gave on the subject for MATH 3900 (Data Mining) at the University of Utah (read part 1 here). In...
View ArticleGocept Weblog: Last minute information for remote Sprinters for the Zope...
As the Zope Resurrection sprint is approaching, it seems useful to share some information on the schedule for the three days in Halle. As we have also some sprinters, who can not join on site, but...
View ArticleDjango Weblog: Django security releases issued: 1.9.10 and 1.8.15
In accordance with our security release policy, the Django team is issuing Django 1.9.10 and 1.8.15. These release addresses a security issue detailed below. We encourage all users of Django to upgrade...
View ArticleDaniel Bader: Python Code Review: Unplugged – Episode 2
Python Code Review: Unplugged – Episode 2This is the second episode of my video code review series where I record myself giving feedback and refactoring a reader’s Python code.The response to the first...
View ArticleExperienced Django: Shallow Dive into Django ORM
A Closer Look at the Django ORM and Many-To-Many RelationshipsIn the last post I worked some on the data model for the KidsTasks app and discovered that a many-to-many relationship would not allow...
View ArticleThe Digital Cat: Python Mocks: a gentle introduction - Part 2
In the first post I introduced you to Python mocks, objects that can imitate other objects and work as placeholders, replacing external systems during unit testing. I described the basic behaviour of...
View ArticleContinuum Analytics News: Continuum Analytics Joins Forces with IBM to Bring...
NewsTuesday, September 27, 2016Optimized Python experience empowers data scientists to develop advanced open source analytics on Spark AUSTIN, TEXAS—September 27, 2016—Continuum Analytics, the...
View ArticleMike Driscoll: wxPython Cookbook Available for Pre-Order
I am excited to announce that the wxPython Cookbook is now available for Pre-Order. You can get your digital copy on Gumroad or Leanpub now. You can get a sample of the book on Leanpub if you’d like to...
View ArticleWeekly Python Chat: Decorators: The Function's Function
Decorators are one of those features in Python that people like to talk about.Why? Because they're different. Because they're a little weird. Because they're a little mind-bending.Let's talk about...
View ArticlePython Engineering at Microsoft: Microsoft’s participation in the 2016 Python...
From September 5th to the 9th a group of Python core developers gathered for a sprint hosted at Instagram and sponsored by Instagram, Microsoft, and the Python Software Foundation. The goal was to...
View ArticleAbu Ashraf Masnun: Can Cython make Python Great in Programming Contests?
Python is getting very popular as the first programming language in both home and aborad. I know many of the Bangladeshi universities have started using Python to introduce beginners to the wonderful...
View ArticleAnwesha Das: First time PyLadies presence in Pycon India
The title for the blog post is not something I wrote but copy pasted a tweet by @kushaldas. Kushal is being attending PyCon India since 2010, a year after it started. This one tweet of his says if not...
View ArticleRichard Tew: Mixing iteration and read methods would lose data
I just upgraded to Python 2.7.12 and my code is now erroring with rather unhelpful Mixing iteration and read methods would lose data errors. Googling for this yields a number of StackOverflow posts...
View ArticleTalk Python to Me: #78 How I built an entire game and toolchain 100% in Python
What kind of applications can you build with python? You hear me featuring many people on this show that build websites, web services, or some data science driven application. Of course, all of those...
View ArticleWesley Chun: Formatting cells in Google Sheets with Python
IntroductionOne of the critical things that developers have not been able to do in previous versions of the Google Sheets API is to format cells... that's a big deal! Anyway, the past is the past, and...
View ArticleVasudev Ram: Publish Peewee ORM data to PDF with xtopdf
By Vasudev RamPeewee => PDFPeewee is a small, expressive ORM for Python, created by Charles Leifer.After trying out Peewee a bit, I thought of writing another application of xtopdf (my Python...
View ArticleImport Python: ImportPython Issue 92 - django-perf-rec track django...
Worthy ReadPython alias commands that play nice with virtualenvOver the years, I’ve come up with my own Python aliases that play nice with virtual environments. For this post, I tried to stay as...
View ArticlePyTennessee: PyTN 2017 Kickoff
Hello everyone! It’s time to kick off the lead up to a great PyTN 2017! I’m very excited about this year event, and I hope you are as well. I’m pleased to welcome a few new organizers to this year’s...
View ArticleWesley Chun: Migrating SQL data to Google Sheets using the new Google Sheets API
NOTE: The code covered in this post are also available in a video walkthrough.UPDATE (Sep 2016): Removed use of argparse module & flags (effective as of Feb 2016).IntroductionIn this post, we're...
View Article