[Baypiggies] code down sizing

Keith Dart keith at kdart.com
Sat Sep 2 18:28:04 CEST 2006


Marilyn Davis wrote the following on 2006-09-01 at 16:01 PDT:
===
> You might find, in the long run, that storing your recipies as python
> code is not the most flexible possibility.  You might prefer to keep
> them in a file that you read and write. 
===

Naw, what he really needs is a relational database with web UI using
Django. ;-)

As an exercise he could write an ISAM in Python. I did those in BASIC
as a kid, but writing one in Python should be easier.

Another alternative is to use the "shelve" module to store dictionaries.


-- 

-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Keith Dart <keith at dartworks.biz>
   public key: ID: 19017044
   <http://www.dartworks.biz/>
   =====================================================================


More information about the Baypiggies mailing list