How would you like to MASTER graphic design by next week?
Click here to find out how
Featured Photoshop templates - professional ready to use designs for your next project
View all templates
learning python part 4 (a look at functions) - Python tutorial
Let's start of with a simple function What this does is it defines the function add(). "a" and "b" are parameters that are requested
Category: Python tutorials - Difficulty:
More cool Python tutorials:
More powerful Python testing techniques
Look at how the leading Python testing frameworks provide robust auto-discovery of your application tests. Make sure your applications are written right the first time, and that they stay working through months and years of further tweaks and improvements.
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.
Python for the PalmOS
Pippy is a port of (a subset of) Python to the PalmOS. With Pippy, Python programmers can create custom applications to run on Palm devices, as well as use Pippy as an interactive environment directly on the Palm. This article evaluates the strengths and limitations of Pippy as a means of implementing Palm applications.
Printing Text in Python
This is a simple tutorial going over the most basic way of printing text in Python. For this tutorial I am using Python 2.6.4. You can get Python here.
Python from Scratch: Getting Started
In this first lesson, we’re going to choose a version, install Python, and then create the obligatory “Hello world” script. If you’re already familiar with Python, feel free to skip ahead to a later lesson in the series.