Archive | Python

Choosing the Best Python IDE

In this article I’ll review six Python IDEs. I’m mainly interested in IDEs that are cross-platform and have strong web development support (Django, HTML templates, JavaScript, etc). Because of this, well-regarded IDEs like PyScripter and Python Tools for Visual Studio are out since they are Windows-only. The Python website maintains a full list of Python […]

Continue Reading 33

How Does Pascal’s Triangle Sound?

The idea of transforming a mathematical sequence into sound may sound (no pun intended, but I’ll take it) strange at first, but people have been doing it for ages. In this post we will generate some music randomly to have and idea of how it sounds and then we will see how sequences like Fibonacci […]

Continue Reading 0

Django Documentation in ePub Format

The Django documentation is now available in ePub format, thanks to Read the Docs. Because the Django documentation is written using Sphinx, we can generate HTML, PDF, and ePub out of the box. However, it’s necessary some tweaking to make Sphinx generate a better looking ePub. In this post I’ll share some of the changes […]

Continue Reading 2

Using Sphinx to Write Technical Books

As I mentioned in a previous blog post, I used Sphinx to write my book, Music for Geeks and Nerds. With Sphinx I could generate HTML, Epub, Mobi (for the Kindle), and two PDF versions (black-and-white and color). Sphinx works quite nicely out-of-the-box for documenting computer programs, but I had to bend it a little […]

Continue Reading 4