save class

Josiah Carlson josiah.carlson at sbcglobal.net
Thu Jun 14 22:43:27 EDT 2007


nik wrote:
> of having to keep track of a separate dictionary file. I am new to
> this, but I thought that this would be a regular thing to do in
> python, because people must make classes in the interactive console
> and then export them somehow for later use.

Create a file.  Put your code in it.  Run your code.  Occasionally 
copy/paste your code into the console for testing and/or learning about 
how Python works.  If you write something you want to keep in the 
console, copy it out of the console and paste it into your source file(s).

  - Josiah



More information about the Python-list mailing list