Linux Today: Linux News On Internet Time.

More on LinuxToday

Ten essential Python tips for beginners

Jan 22, 2010, 19:04 (0 Talkback[s])
(Other stories by Kunal Deo)


Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame

"Python is a programming language that lets you work more quickly and integrate your systems more effectively and is one of the most popular programming languages in the open source space. Look around and you will find it running everywhere, from various configuration tools to XML parsing. We’ve compiled ten essential Python tips especially for the new user, so without further ado, let’s get started…

"1. Running Python scripts

" On most of the UNIX systems, you can run Python scripts from the command line like so:

$ python mypyprog.py

"2. Running Python programs from Python interpreter

"The Python interactive interpreter makes it easy to try your first steps in programming and using all Python commands. You just issue each command at the command prompt, one by one, and the answer is immediate.

"Python interpreter can be started by issuing the command:"

Complete Story

Related Stories: