Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


Python4Kids: New Tutorial - Baby Steps With Our Text Editor

May 09, 2011, 16:11 (0 Talkback[s])
(Other stories by brendanscott)

[ Thanks to Brendan Scott for this link. ]

"In this tutorial we're going to start using the power of the text editor that I've been badgering you about over the last few tutorials. We are going to go back to the earlier tutorials and resurrect some of the code there.

"Exercise: Create a new document with your text editor

"Save the document to a file called trivia.py You need to be careful that your text editor doesn't add '.txt' to the end of the file's name as some have the habit of doing.

"copy the following function into the file (originally found here, with some comments dropped):"

Complete Story

Related Stories: