Python’s Django vs Ruby on Rails

Python vs Ruby Ruby is a dynamic, reflective, object-oriented general-purpose programming language which was designed and developed in the mid-1990s. Compared to Python, which treats code readability above everything else, the philosophy behind Ruby is that programmers should have the flexibility, freedom and power to write concise and compact code. The most important difference between […]

Read More

PyInstaller: Package Python Applications (Windows, Mac and Linux)

PyInstaller is a program used to convert Python scripts into standalone applications. PyInstaller allows you to run applications written in Python on a computer without requiring the user to install Python. It is an excellent option when you need to distribute a program to the end user as a standalone application. PyInstaller currently only works […]

Read More

py2exe: Python to exe Introduction

py2exe is a simple way to convert Python scripts into Windows .exe applications. It is an utility based in Distutils that allows you to run applications written in Python on a Windows computer without requiring the user to install Python. It is an excellent option when you need to distribute a program to the end […]

Read More

Introduction to SQLite in Python

SQLite3 is a very easy to use database engine. It is self-contained, serverless, zero-configuration and transactional. It is very fast and lightweight, and the entire database is stored in a single disk file. It is used in a lot of applications as internal data storage. The Python Standard Library includes a module called “sqlite3” intended […]

Read More

Python for Android: The Scripting Layer (SL4A)

The Scripting Layer for Android, SL4A, is an open source application that allows programs written in a range of interpreted languages to run on Android. It also provides a high level API that allows these programs to interact with the Android device, making it easy to do stuff like accessing sensor data, sending an SMS, […]

Read More

Review of IPython (Alternative Python Shell)

For an introduction to IPython, be sure to checkout the article Introduction to IPython: An Enhanced Python Interpreter. One of the nice things about working in an interpreted language like Python is exploratory programming using the interactive Python shell. It lets you try things out quickly and easily without writing a script and then executing […]

Read More

Review of bpython and DreamPie (Alternative Python Shells)

bpython Alternative Shell Review bpython is a lighter solution than IPython, which we discussed last time; where IPython expands the capabilities of Python itself, and offers interactive features as a sideline, bpython expands the interactive features of Python’s shell — and that’s about it. Within the bounds of its intended purpose, however, it is quite […]

Read More

Text Editors vs IDEs for Python development: Selecting the Right Tool

The language in which you program and its interpreters or compilers are only some of the tools you use to develop software. Another important matter is your programming environment. Unlike some languages, where your choices are limited, such as Delphi or the .NET languages, where there are one or two obviously superior options, Python has […]

Read More

Best Text Editors for Python development

Python is such a popular language that most “programmers’ text editors” have at least rudimentary support, including syntax highlighting. But there are several editors that have especially good support. I’ve tested the following editors, presented in alphabetical order, as most are fine choices: Emacs Geany Komodo Edit Notepad++

Read More

Comparison of Python IDEs for Development

Until recently, I hadn’t looked into Python IDEs for several years; I’m not generally an IDE person — I usually use Emacs. When I last checked them out, Python IDEs were a dismal lot; it’s not easy to write tools for a dynamic language, because they have to analyze the code, and a lot of […]

Read More