All posts tagged ‘python’

File Under: Programming

Get Started With Python

The scripting language Python is named after the Monty Python British Comedy series, although the language takes after its reptilian namesake as well — it’s simple by design, yet flexible and powerful. It can’t exactly swallow large rodents whole, but it can be used for a wide variety of applications. Whether you need to automate some part of you desktop workflow, create a website or build a full-fledged desktop application, Python is a strong candidate for the job.

Continue Reading “Get Started With Python” »
File Under: APIs

Using the Twitter API

The microblogging site with the funny name is one of the hottest web services around.

Twitter is one of those websites with very little room for functional nuance. Its limit of 140 characters per post forces users to be succinct, something that makes many people feel over-constrained and leads them to view the service as too simple to actually be useful. Others see unbridled freedom inside such a unique limitation and embrace it like a poetic device. The lesson: You either get Twitter or you don’t.

Regardless of how you feel about it, if you’re looking to try out an API for the first time, Twitter is a great place to start.


Continue Reading “Using the Twitter API” »
File Under: Frameworks

Get Started With Django

Django is a web framework designed to help you build complex web applications simply and quickly. It’s written in the Python programming language.

Django takes it name from the early jazz guitarist Django Reinhardt, a gypsy savant who managed to play dazzling and electrifying runs on his instrument even though two of the fingers on his left hand were paralyzed in an accident when he was young.

Thus, it’s a fitting name for the framework: Django can do some very complex things with less code and a simpler execution than you’d expect. It doesn’t take a heavy hand to build with Django. The framework does the repetitive work for you, allowing you to get a working website up quickly and easily.


Continue Reading “Get Started With Django” »
File Under: Frameworks, Programming

Use URL Patterns and Views in Django

Last time around, we installed Django and started building a blog application. We got Django’s built-in admin system up and running and explored some third-party libraries like the django-tagging project.

So far we have some cool administrative tools, but no website for the rest of the world to see. This time around, we’ll work on displaying our content to the world by building the URL patterns and constructing some “views” — a term with a very specific meaning within the Django framework.

Everything we’re going to do will make more sense if you understand how Django processes your visitor’s request. We went over some of this in our introduction, but here’s a quick refresher course.

Continue Reading “Use URL Patterns and Views in Django” »
File Under: Programming

The Problem With Python

If you were a young programmer trying to pick a language to learn, based on these two websites, which would you choose?

Python or Java?