Tutorial search

Tutorials
Stuff
Affiliates

Photoshop Templates


Featured Photoshop templates - professional ready to use designs for your next project.

View all templates

Intro to Python Generators - Python tutorial


Generators are a very cool Python abstraction that allows you to greatly simplify control flow and can also lead to much lower memory consumption.
Category: Python tutorials > Basics - Difficulty:

More cool Python tutorials:



Functional programming in Python
Functional programming in Python
Although users usually think of Python as a procedural and object-oriented language, it actually contains everything you need for a completely functional approach to programming. This article discusses general concepts of functional programming, and illustrates ways of implementing functional techniques in Python.
Category: Python tutorials > Development - Difficulty:
Run a script from a text file
Run a script from a text file
In this tutorial, you make a python file, save it to the desktop, and learn how to change the directory in the terminal so it points to the desktop and run the file. Then, learn how to make it executable.
Category: Python tutorials > Basics - Difficulty:
Programming the OLPC Laptop using Python
Programming the OLPC Laptop using Python
The XO laptop intended (of the One-Laptop-Per-Child initiative) uses GNU/Linux as the underlying operating system, and includes an application environment written in Python with a human interface called Sugar. Explore the Sugar APIs and learn how to develop and debug a graphical activity in Sugar using Python.
Category: Python tutorials > Development - Difficulty:
Python 201 -- (Slightly) Advanced Python Topics
Python 201 -- (Slightly) Advanced Python Topics
This document is a syllabus for a second course in Python programming. This course contains discussions of several advanced topics that are of interest to Python programmers.
Category: Python tutorials > Basics - Difficulty:
Intro to PYX
Intro to PYX
XML is a fairly simple format. It uses plain Unicode text rather than binary encoding, and all the structures are declared with predictable-looking tags. Nonetheless, there are still enough rules in the XML grammar that a carefully debugged parser is needed to process XML documents -- and every parser imposes its own particular programming style. An alternative is to make XML even simpler. The open-source PYX format is a purely line-oriented format for representing XML documents that allows for much easier processing of XML document contents with common text tools like grep, sed, awk, wc, and the usual UNIX collection.
Category: Python tutorials > XML - Difficulty: