[Tutor] Fwd: Learning python using Michael Dawson's book
Peter
cyclespoke at windstream.net
Wed May 19 15:16:50 CEST 2010
Thank you for the responses to my question. This was my first posting
and future questions will be made "clearer" to the group.
Joseph,
I have a feeling you are correct about the spacing. I will try that.
Its easy to just load the code file and see the result, but I will learn
more if I type out what I see in the book then see a result.
Thank much,
Peter
On 5/19/2010 7:11 AM, Joseph Gulizia wrote:
> I posted this two days ago (I thought to the list...but apparently
> not). I'm hopeful it helps in some way.
>
>
>
> I have the same book.
>
> Using a text editor and the underscore and dash keys and a few
> others...the program example is creating an ASCII art version on the
> words "Game Over".
>
> Type it manually probably means to type it out...NOT use copy and paste.
>
> Can't get it to work probably means....it doesn't display properly (as
> the book shows).
>
> What needs to be done is he needs to play with the spacing of the
> characters and different keys to get the "letters" drawn to display
> closer to the book's example.
>
>
> """
> _______
> |__ ___| _____ _____
> | | / __ \ / ___ \
> _ | | | | | | | |___| |
> | |_| | | |__| | | ____/_
> \____/ \______/ \______|
>
> """
>
> On Wed, May 19, 2010 at 2:38 AM, Andre Engels <andreengels at gmail.com
> <mailto:andreengels at gmail.com>> wrote:
>
> On Tue, May 18, 2010 at 5:14 AM, Luke Paireepinart
> <rabidpoobear at gmail.com <mailto:rabidpoobear at gmail.com>> wrote:
> > Forwarding. Peter use reply-all don't reply offlist please.
> >
> > ---------- Forwarded message ----------
> > From: Peter <cyclespoke at windstream.net
> <mailto:cyclespoke at windstream.net>>
> > Date: Mon, 17 May 2010 10:08:47 -0400
> > Subject: Re: [Tutor] Learning python using Michael Dawson's book
> > To: Luke Paireepinart <rabidpoobear at gmail.com
> <mailto:rabidpoobear at gmail.com>>
> >
> > Hi,
> > The result in the book has lettering like the following:
> > ___ __ __
> > | | | | | |
> > | |__| | | |
> > | __ | | |
> > | | | | | |
> > |__| |__| |__|
>
> Well, that's definitely not what the code would be producing, nor does
> it seem to be related to what the example claims to be doing...
> Perhaps instead of
>
> print(
> """
> """
> )
>
> which is a very strange idiom (though valid), you should write:
>
> print(
> """
> ___ __ __
> | | | | | |
> | |__| | | |
> | __ | | |
> | | | | | |
> |__| |__| |__|
> """
> )
>
> or perhaps you are looking at one example and the explanation of
> another?
>
>
>
> --
> André Engels, andreengels at gmail.com <mailto:andreengels at gmail.com>
> _______________________________________________
> Tutor maillist - Tutor at python.org <mailto:Tutor at python.org>
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100519/c182fdc5/attachment.html>
More information about the Tutor
mailing list