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


Top White Papers

More on LinuxToday


Python4Kids: New Tutorial - Increasingly Trivial Questions

Mar 23, 2011, 05:08 (0 Talkback[s])
(Other stories by brendanscott)

[ Thanks to Brendan Scott for this link. ]

"If you remember back a few tutorials ago, we learnt how to pickle objects so that we could get them back later. To pickle the object triviaQuestions (which was a list object) we first imported the pickle module, then opened a file and dumped the object into the file, then close()d the file:"

Complete Story

Related Stories: