[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 Date: Mon, 17 May 2010 10:08:47 -0400 Subject: Re: [Tutor] Learning python using Michael Dawson's book To: Luke Paireepinart Hi, The result in the book has lettering like the followin

Re: [Tutor] Unable to run a simple Hello.py in WinXP

2010-05-17 Thread Adam Bark
On 18 May 2010 01:30, Sivapathasuntha Aruliah < sivapathasuntha.arul...@amkor.com> wrote: > > > > > > *Adam Bark * > > > *05/18/2010 01:21 AM* > To > Sivapathasuntha Aruliah/S1/a...@amkor > cc > tutor@python.org > Subject > Re: [Tutor] Unable to run a simple Hello.py in WinXP > > > > > > > > >

Re: [Tutor] Question about packaging with distutils (specifying metadata)

2010-05-17 Thread Steven D'Aprano
On Tue, 18 May 2010 08:27:09 am steve wrote: > Hello, > > I am preparing a package for distribution using distutils and when > writing the setup.py, i want to specific meta-data like version, > author, maintainer ...etc. > > My question is, assuming that I already have all of that information > in

[Tutor] Question about packaging with distutils (specifying metadata)

2010-05-17 Thread steve
Hello, I am preparing a package for distribution using distutils and when writing the setup.py, i want to specific meta-data like version, author, maintainer ...etc. My question is, assuming that I already have all of that information in the package's __init__.py as variables(*), is it c

Re: [Tutor] Trying to get this to work - attached is the source code

2010-05-17 Thread Alan Gauld
"Peter" wrote Attached is the source code which accompanies the book and lessons. When I type it in I do not get the same result. I do not get the block lettering, or am I supposed to? You need to use a monospaced font(like Courier). If you use something like Arial or Times the spacing will

Re: [Tutor] Unable to run a simple Hello.py in WinXP

2010-05-17 Thread Yashwin Kanchan
Hi Siva This looks more of issue with the python installation on your PC. Could be a bad installation, in which case I would suggest re-installation of python. Also it could be something to do with permission on your PC. Also you say that you were successful in running the script on python shell

Re: [Tutor] Trying to get this to work - attached is the source code

2010-05-17 Thread Jim Byrnes
Walter Prins wrote: Hi Peter, We're not familiar with the book, so you'll have to tell us exactly what you're doing, what you're seeing, and what you're expecting ot see instead. Suffice it to say, the script seems fine. When you run it (from an operating system command prompt) it will print,

Re: [Tutor] Unable to run a simple Hello.py in WinXP

2010-05-17 Thread Alan Harris-Reid
Hi Siva, I can run the .py file from the DOS command line without any problem under WinXP. Can you give some more information regarding your error message? Regards, Alan Harris-Reid ___ Tutor maillist - Tutor@python.org To unsubscribe or change

Re: [Tutor] Unable to run a simple Hello.py in WinXP

2010-05-17 Thread Adam Bark
On 17 May 2010 09:05, Sivapathasuntha Aruliah < sivapathasuntha.arul...@amkor.com> wrote: > > Hi > If possible please run the following two lines after *saving it as a py > file on WINXP* and check whether it runs smooythly. *When I run I get > error. *I use Python 3.1.2 (r312:79149, Mar 21 2010,

Re: [Tutor] Trying to get this to work - attached is the source code

2010-05-17 Thread Walter Prins
Hi Peter, We're not familiar with the book, so you'll have to tell us exactly what you're doing, what you're seeing, and what you're expecting ot see instead. Suffice it to say, the script seems fine. When you run it (from an operating system command prompt) it will print, in the command window,

Re: [Tutor] Trying to get this to work - attached is the source code

2010-05-17 Thread bob gailer
On 5/17/2010 10:29 AM, Peter wrote: Attached is the source code which accompanies the book and lessons. When I type it in I do not get the same result. I do not get the block lettering, or am I supposed to? Peter

[Tutor] Trying to get this to work - attached is the source code

2010-05-17 Thread Peter
Attached is the source code which accompanies the book and lessons. When I type it in I do not get the same result. I do not get the block lettering, or am I supposed to? Peter --- Hello, I am at the ver

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

2010-05-17 Thread Steven D'Aprano
On Mon, 17 May 2010 11:08:38 pm Peter 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 dashe

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

2010-05-17 Thread Luke Paireepinart
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, Peter wrote: > Hello, > I am at the very beginning of learning Python. If anyone is familiar > with Mic

[Tutor] Learning python using Michael Dawson's book

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

[Tutor] Unable to run a simple Hello.py in WinXP

2010-05-17 Thread Sivapathasuntha Aruliah
Hi If possible please run the following two lines after saving it as a py file on WINXP and check whether it runs smooythly. When I run I get error. I use Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more in