On Mon, Aug 29, 2011 at 2:29 PM, Cranky Frankie <cranky.fran...@gmail.com>wrote:
> I'm trying to decide what would be better: > > - reading the huge quote file (hundreds of entries, two strings, > author and quotation) in each time the program starts > > - loading the quotes into an array in the program > > I'd like to be able to add new quotes easily, so that is a factor as well. > > I'm satisfied to use a dialog box, I don't need a GUI at this point so > no tkinter (yet). > > On Mon, Aug 29, 2011 at 1:29 PM, Brett Ritter <swift...@swiftone.org> > wrote: > ou: > > > > Glad you're so happy with this book...did you have a question for this > list? > > > > -- > > Brett Ritter / SwiftOne > > swift...@swiftone.org > > > I'm not sure I understand the either or part of your question. > A file of several hundred quotes doesn't really seem huge to me. At any rate, if you write a program to let you enter the quote and author, you will still need to store them somewhere. A file would be a simpler choice than a database for someone new to programming. What have you got so far? Joel Goldstick
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor