[Tutor] Intro
Joel Goldstick
joel.goldstick at gmail.com
Mon Aug 29 20:56:39 CEST 2011
On Mon, Aug 29, 2011 at 2:29 PM, Cranky Frankie <cranky.frankie at 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 <swiftone at swiftone.org>
> wrote:
> ou:
> >
> > Glad you're so happy with this book...did you have a question for this
> list?
> >
> > --
> > Brett Ritter / SwiftOne
> > swiftone at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110829/bbf1dc7b/attachment-0001.html>
More information about the Tutor
mailing list