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

2010-05-19 Thread Andre Engels
On Tue, May 18, 2010 at 5:14 AM, Luke Paireepinart
rabidpoob...@gmail.com wrote:
 Forwarding. Peter use reply-all don't reply offlist please.

 -- Forwarded message --
 From: Peter 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

 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
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


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

2010-05-19 Thread Joseph Gulizia
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 meansit 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 wrote:

 On Tue, May 18, 2010 at 5:14 AM, Luke Paireepinart
 rabidpoob...@gmail.com wrote:
  Forwarding. Peter use reply-all don't reply offlist please.
 
  -- Forwarded message --
  From: Peter 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
 
  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
 ___
 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


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

2010-05-19 Thread Peter
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 meansit 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


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

2010-05-19 Thread Alan Gauld
I thought I had posted a reply on this but I don't see 
it in the archive...


You should make sure your font is set to a mono-spaced 
variety for this kind of thing otherwise it gets very difficult 
to align everything...



--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/


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


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

2010-05-17 Thread Luke Paireepinart
Forwarding. Peter use reply-all don't reply offlist please.

-- Forwarded message --
From: Peter 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

Hi,
The result in the book has lettering like the following:
_____   __
|||| ||
||__|| ||
|__ |  ||
|||| ||
|__||__| |__|





On 5/17/2010 9:54 AM, Luke Paireepinart wrote:
 I don't see any printing of dashes whatsoever.
 can you explain in more detail what output you're getting, how it's
 different from what you expected, and why you think that happened?

 On 5/17/10, Petercyclesp...@windstream.net  wrote:

 Hello,
 I am at the very beginning of learning Python. If anyone is familiar
 with Michael Dawson's book: Python Programming for the Absolute Beginner
 The following script (according to the book) should create block
 lettering created by dashes and vertical lines. If I could show a
 picture of it I would. I do not get the same result as the book.
 Thank you for any input.
 Peter


 The script goes like this:

 ---

 #Game Over- Version 2
 #Demonstrates the use of quotes in strings

 print(Program 'Game Over' 2.0)

 print(Same, message, as before)

 print(Just,
   a bit,
   bigger)

 print(Here, end= )
 print(it is...)

 print(
  
  
  )

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




-- 
Sent from my mobile device
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor