[Tutor] fortune-like utility
Cranky Frankie
cranky.frankie at gmail.com
Tue Aug 30 16:21:36 CEST 2011
On Tue, Aug 30, 2011 at 5:23 AM, Martin A. Brown <martin at linux-ip.net> wrote:
>
> Good morning and welcome to the list,
>
> : Just planning it out in my head so far, like pseudocode. I hope
> : to get started soon. I'm just looking to have a little dialog box
> : come up, display a random quote of the day, and then hit enter
> : and it's gone. Should be a nice, simple way to get started with
> : Python.
>
> N.B. Most of the questions and answers here are about the python 2.x
> series, so just note that there are some minor differences with
> python 3.x.
>
> I would suggest starting with the data/format.
snip
Thanks Martin for the excellent suggestions.
I read in the book that you have to use escape like /n when you want
to span lines. I don't want to have to do that to each of my quotes,
many of which span several lines, so I will look into your
suggestions.
Thanks again.
--
Frank L. "Cranky Frankie" Palmeri
Risible Riding Raconteur & Writer
" . . . and the extended forecast,
until you come back to me, baby,
is high tonight, low tomorrow,
and precipitation is expected."
- Tom Waits, "Emotional Weather Report"
More information about the Tutor
mailing list