← Back to all posts

2013 (section)

November 2013

  • Python Dictionary Comprehension
    #Python

    Python dictionary comprehensions from Python 3 backported to 2.7. Shows conversion from list of lists, conditional key/value expressions, and performance comparison to loops.

October 2013

  • Zen of Python by Tim Peters
    #Python

    The Zen of Python - Tim Peters' famous guiding principles for Python design. Displays all 19 aphorisms including 'Beautiful is better than ugly' and 'There should be one obvious way to do it'.

  • File Upload with jQuery and Ajax
    #jQuery

    Upload files via jQuery AJAX using FormData object. Shows proper configuration with contentType and processData set to false for multipart form handling.

September 2013

July 2013

June 2013

May 2013

April 2013

March 2013

  • Check python package version in program
    #Python

    Shows how to check Python package versions at runtime using pkg_resources. Demonstrates getting both the full distribution object and just the version string.

  • Deploying web.py application in Apache with mod_wsgi
    #Apache #Python #web.py

    Comprehensive guide to deploy web.py applications on Apache using mod_wsgi. Covers installing Apache, Python with shared libraries, mod_wsgi configuration, and common pitfalls.

  • Installing python-ldap in cygwin
    #Python

    Installing python-ldap in Cygwin requires multiple dependencies. Details the installation process including the required libraries and common errors encountered during the build process.

  • Installing node.js in Linux
    #Node.js

    Step-by-step guide to install Node.js from source on Linux (tested on RHEL 5.4 and Ubuntu 12.10). Covers wget, configure, make, and verifying installation with a simple HTTP server example.