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 <andreeng...@gmail.com <mailto:andreeng...@gmail.com>> wrote:

    On Tue, May 18, 2010 at 5:14 AM, Luke Paireepinart
    <rabidpoob...@gmail.com <mailto:rabidpoob...@gmail.com>> wrote:
    > Forwarding. Peter use reply-all don't reply offlist please.
    >
    > ---------- Forwarded message ----------
    > From: Peter <cyclesp...@windstream.net
    <mailto:cyclesp...@windstream.net>>
    > Date: Mon, 17 May 2010 10:08:47 -0400
    > Subject: Re: [Tutor] Learning python using Michael Dawson's book
    > To: Luke Paireepinart <rabidpoob...@gmail.com
    <mailto:rabidpoob...@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, andreeng...@gmail.com <mailto:andreeng...@gmail.com>
    _______________________________________________
    Tutor maillist  - Tutor@python.org <mailto:Tutor@python.org>
    To unsubscribe or change subscription options:
    http://mail.python.org/mailman/listinfo/tutor



_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to