Linux Today: Linux News On Internet Time.





More on LinuxToday


Python4Kids: New Tutorial - A Big Jar of Pickles

Feb 28, 2011, 18:03 (0 Talkback[s])
(Other stories by Brendan Scott)

[ Thanks to Brendan Scott for this link. ]

"In the last tutorial we learned how to pickle our objects. Pickling is a way of storing the object (on the computer's file system) so that it can be used later. This means that if we want to re use an object we can simply save it and load it when we need it, rather than re-creating it each time we want to use it. This is very useful when our object is a list of questions for our trivia game. We really only want to type the questions in once and then reload them later."

Complete Story

Related Stories: