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

David MacIver: Hypothesis: Staying on brand

You know that person who is always insisting that you use the right capitalisation for your company, you have to use the official font, it’s really important whether you use a dash or a space and you...

View Article


David MacIver: The repr thing

In case you haven’t noticed, some parts of Hypothesis are designed with a lot of attention to detail. Some parts (particularly internals or anything that’s been around since the beginning) are a bit...

View Article


David MacIver: Finding more bugs with less work

I was at PyCon UK this weekend, which was a great conference and I will definitely be attending next year.Among the things that occurred at this conference is that I gave my talk, “Finding more bugs...

View Article

Image may be NSFW.
Clik here to view.

DreamHost: How to Launch Instances Using Python and Apache Libcloud

You can start a new virtual machine, install an application in it, set security group to access such application, assign ssh key and public IPv4 without using the web control panel. All features of...

View Article

Python Does What?!: Loopy references

This may not come as a surprise to experienced Python programmers, but objects in Python can reference or "contain" themselves and/or their parent objects.A trivial example, the self-containing...

View Article


eGenix.com: eGenix mxODBC Connect 2.1.4 GA

IntroductionThe mxODBC Connect™ Database Interface for Python allows users to easily connect Python applications to all major databases on the market today in a highly portable, convenient and secure...

View Article

Image may be NSFW.
Clik here to view.

Python Anywhere: Docker Consoles (beta)

Here at PythonAnywhere industries, there's nothing we love better than a bandwagon. Plus the logos are so cool! So it's docker-fever in the office.In all seriousness, we've been rolling our own...

View Article

Image may be NSFW.
Clik here to view.

PyCharm: PyCharm 5 EAP 142.5084 is Available

Today we announced the second PyCharm 5 EAP build 142.5084. Please download it from our EAP page.Just as always, this EAP build can be used for 30 days after its release date and it doesn’t require any...

View Article


Brian Okken: Test Classes: No OO experience required (PT005)

You do not need to understand object oriented programming to making use of test classes. They are a way of organizing code and they allow a granularity between module and function. This episode covers...

View Article


Caktus Consulting Group: PyCon 2016: Behind the Design

Having helped to design an award-winning event site for last year’s PyCon in Montreal, we are thrilled to collaborate again with the Python Software Foundation (PSF) on this year’s site for PyCon...

View Article

Image may be NSFW.
Clik here to view.

Julien Tayon: Querying complex unknown database with python

In my job, I sometimes have to deal with web applications that are pointing to half a dozen databases with an overall of more than 160 tables.Not to say it can be complex, but sometimes it is :)So I...

View Article

PyCon: Thank you to our Launch-Day sponsors

The new PyCon 2016 website is now live! The conference volunteers have worked hard to include all of the essential details about the schedule, venue, and hotels ahead of the Call for Proposals next...

View Article

Reuven Lerner: Registration is open for my October Webinars (about regexps...

September has been busy with work and holidays, but I’m gearing up for an exciting and busy October. Among other things, I’m giving two (free) Webinars in that month, and you can already register for...

View Article


Django Weblog: Django 1.9 alpha 1 released

As part of the Django 1.9 release process, today we've released Django 1.9 alpha 1, a preview/testing package that represents the first stage in the 1.9 release cycle and an opportunity for you to try...

View Article

Justin Mayer: Tacklebox for the Fish Shell

So you have installed the Fish shell. Now what?Rather than manually port all of your Bash/Zsh configuration, you might first consider whether someone has already implemented your desired function in...

View Article


Image may be NSFW.
Clik here to view.

Caktus Consulting Group: Introduction to Monte Carlo Tree Search

For DjangoCon 2015, Jeff Bradberry created an A.I. for our booth game, Ultimate Tic Tac Toe. Reprinted here from jeffbradberry.com is his explanation of the Monte Carlo Tree Search used to build the...

View Article

Image may be NSFW.
Clik here to view.

Evennia: Pushing through a straw

Recently, a user reported a noticeable delay between sending a command in-game to multiple users and the result of that command appearing to everyone. You didn't notice this when testing alone but I...

View Article


Image may be NSFW.
Clik here to view.

Mahmoud Hashemi: Remap: Nested Data Multitool for Python

This entry is the first in a series of "cookbooklets" showcasing more advanced Boltons. If all goes well, the next 5 minutes will literally save you 5 hours.ContentsIntroNormalize keys and valuesDrop...

View Article

Image may be NSFW.
Clik here to view.

Stephen Ferg: Workaround for flask/babel/sphinx bug on Python 3+

I’m using Python 3.4 on Windows. Recently I tried to install and use Sphinx.  When I did, I encountered an error that ended with the stringan integer is required (got type str)Googling that string, I...

View Article

Image may be NSFW.
Clik here to view.

Codementor: Tutorial: How to Create Custom Exceptions in Python

Ankur Ankan is the lead developer of pgmpy, a Python library for Probabilistic Graphical Models. He mentors students at Google Summer Code and has great passion for Python programming.This tutorial was...

View Article
Browsing all 22462 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>