ok i would suggest you read a few beginners guides to python programming in linux.
http://www.python.org/about/gettingstarted/
http://sthurlow.com/python/
an extremely basic python program would go something like this..
Open up a text editor (vi, nano, kate, gedit etc)
and add the following:
Code:
#!/usr/bin/python
print "Hello World"
Save this as helloworld.py
Then drop to a console cd to where you saved the file, and
Code:
chmod +x helloworld.py
Then run it by executing in the console: