Quantcast
Channel: Planet Python
Browsing all 22462 articles
Browse latest View live

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 Article


Image may be NSFW.
Clik here to view.

Curtis 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 Article


Image may be NSFW.
Clik here to view.

Gocept 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 Article

Django 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 Article

Image may be NSFW.
Clik here to view.

Daniel 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 Article


Experienced 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 Article

The 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 Article

Continuum 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 Article


Image may be NSFW.
Clik here to view.

Mike 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 Article


Weekly 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 Article

Python 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 Article

Image may be NSFW.
Clik here to view.

Abu 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 Article

Image may be NSFW.
Clik here to view.

Anwesha 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 Article


Richard 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 Article

Talk 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 Article


Image may be NSFW.
Clik here to view.

Wesley 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 Article

Image may be NSFW.
Clik here to view.

Vasudev 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 Article


Image may be NSFW.
Clik here to view.

Import 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 Article

PyTennessee: 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 Article

Wesley 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
Browsing all 22462 articles
Browse latest View live