PyOhio, a Python mini-conference is coming up on 26 July. If you find yourself in the Buckeye State, stop by the centrally-located Columbus Metropolitan Library to catch up with...
Some protocols communicate data in forms that are less than
human-friendly. Unlike XML, some communication protocols as well as
older data formats can be downright obtuse. It is not unheard...
Linux Journal readers have recently had their say in the magazine's poll on preferred Linux-based applications and technologies. Their favourite interpreted language? Python! You can read the...
Having seen how to change and retrieve variables of the processing
environment, we step next to how one can manipulate files and file
processes in realtime. Most of this happens with...
Python's os module is responsible for most any system-level call you make from your programs. Without it, Python's portability would be very much hampered. The first step in...
SciPy is coming again to CalTech in Pasadena, California on August 19-24, 2008. This is one of the best conferences for applying Python in scientific arenas. You can...
As noted recently, it is a very exciting time to be a Python developer. The demand for superior software developers is outstripping the supply significantly. Some companies that...
In order to make your Python code truly platform-independent, you pretty much have to use the os module. While much of the system-level portability of Python is in os.path,...
EuroPython, the main Python conference in Europe will be held in Vilnius, Lithuania again this year from 7-12 July. The Call for Participation is published and proposals on the...
Complementing the functionality of the get*() functions in Python's os module are the set*() functions. In the next step of the os module guide, we look at these and...
Guido van Rossum:
An Open Source App: Rietveld Code Review Tool
["My first project as a Google engineer was an internal web app for code review. /.../ now that I work on the Google App Engine team, I've been able to write a new web app that incorporates many ideas (and even some code!) from Mondrian, and release it as open source. The Python open source community has been trying out Rietveld for the past few days, and has already been using it to do code reviews for Python (as well as providing valuable feedback in the form of bug reports and feature requests). Of course, the tool is not language-specific: you can use it for code reviews for any language!"]
David Beazley: Generator Tricks for Systems Programmers
["This tutorial discusses various techniques for using generator functions and generator expressions in the context of systems programming. This topic loosely includes files, file systems, text parsing, network programming, and programming with threads."]
Antti Kervinen:
Lightweight Approach to AOP in Python
["The aspects.py library provides means to intercept function calls. Functions and methods (also in Python standard library and third party code) can be wrapped so that when they are called, the wrap is invoked first. Depending on the wrap, the execution of the original function can be omitted, or the function can be called arbitrarily many times. Wraps are able to modify the arguments and the return value of the original function."]
Niall Kennedy:
Google App Engine for developers
["I met with the App Engine's team leads on Monday morning for an in-depth overview of the product, its features, and its limitations. Google has been working on the Google App Engine since at least March 2006 and has only just begun revealing some of its features. In this post I will summarize Google App Engine from a developer's point of view, outline its major features, and examine pitfalls for developers and startups interested in deploying web applications on Google's servers."]
Google: What Is Google App Engine?
["Google App Engine makes it easy to build an application that runs reliably, even under heavy load and with large amounts of data. /.../ Google App Engine applications are implemented using the Python programming language. The runtime environment includes the full Python language and most of the Python standard library."]
Matthew C:
error_help() for Python hackers
["Basically, after "easy_install bug.gd" (and running a quick config script), the coder can type "error_help()" after any error in their interpreter and get back similar errors from other people and how they solved it. The idea is to prevent coders from having to rediscover known solutions when working with unfamiliar modules."]
Andrew Kuchling:
PyCon 2008: A look back
["With every PyCon the organizers try various innovations, some of which work and some of which don't. Now that PyCon 2008 is over and I've had a chance to recover from sleep deprivation, here's my re-cap."]
Georg Brandl:
Sphinx
["Sphinx is a tool that makes it easy to create intelligent and beautiful documentation for Python projects, written by Georg Brandl and licensed under the BSD license. It was originally created to translate the new Python documentation, but has now been cleaned up in the hope that it will be useful to many other projects."]
Andrew Dalke:
python4ply
["python4ply is a Python parser for the Python language. The grammar definition uses PLY, a parser system for Python modelled on yacc/lex. The parser rules use the "compiler" module from the standard library to build a Python AST and to generate byte code for .pyc file.
You might use python4ply to experiment with variations in the Python language. The PLY-based lexer and parser are much easier to change than the C implementation Python itself uses or even the ones written in Python which are part of the standard library."]
Jared Koult: Yet Another Python ORM
["I've developed a Python ORM that is intended to be a lightweight, high-performance alternative to SQLObject, SQLAlchemy, the Django ORM, etc. Each of the preceding projects attempts to implement a comprehensive feature set. This ORM, however, is intended to be minimal, with as minimal of a configuration as required."]
PyCon 2008:
Deadlines for hotel reservations and early-bird registration coming soon!
["If you haven't registered for PyCon yet, now is the time! The early-bird registration deadline is February 20, one week away. After that, the price for registration will be going up. The deadline for hotel reservations at the conference rate is also February 20. Act now, because the regular rate is considerably higher!"]
Stani:
PHATCH, a PHoto bATCH processor and renamer
["I'm pleased to announce the release of Phatch which is a powerful batch processor and renamer. Phatch exposes a big part of the Python Imaging Library through a user-friendly GUI. (It is using python-pyexiv2 to offer more extensive EXIF and IPTC support.) Phatch is not targeted at manipulating individual pictures (such as with Gimp), but repeating the same actions on hundreds or thousands of images."]
Ville Säävuori:
Offline Development With Django
["Coming to Django from the PHP-world, running a local development server (as opposed to Apache or a full LAMP-machine set up for just testing) and doing real offline development is something that takes a little bit of learning. After two years of active development with Django, I’d like to share some of my learnings."]
TIOBE Software:
TIOBE declares Python as programming language of 2007!
["Python has been declared as programming language of 2007. It was a close finish, but in the end Python appeared to have the largest increase in ratings in one year time (2.04%). There is no clear reason why Python made this huge jump in 2007. Last month Python surpassed Perl for the first time in history, which is an indication that Python has become the "de facto" glue language at system level. It is especially beloved by system administrators and build managers. Chances are high that Python's star will rise further in 2008, thanks to the upcoming release of Python 3."]