[Tutor] Fwd: Learning python using Michael Dawson's book

Joseph Gulizia joseph.gulizia at gmail.com
Wed May 19 13:11:04 CEST 2010


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> wrote:

> On Tue, May 18, 2010 at 5:14 AM, Luke Paireepinart
> <rabidpoobear at gmail.com> wrote:
> > Forwarding. Peter use reply-all don't reply offlist please.
> >
> > ---------- Forwarded message ----------
> > From: Peter <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>
> >
> > 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
> _______________________________________________
> 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/57d3ac2d/attachment.html>


More information about the Tutor mailing list