Re: Python for Dummies exaple

2015-10-14 Thread Steve Hayes
On Wed, 14 Oct 2015 15:23:25 -0400, Terry Reedy wrote: > >> I found all the Python books available dealt with version 2.x, > >I searched "python 3 book" and immediately come up with >Programming in Python 3 >Dive Into Python 3 >Python 3 for Absolute Beginners > >+ 'free' >Non-Programmer's Tutoria

Re: Python for Dummies exaple

2015-10-14 Thread Terry Reedy
I found all the Python books available dealt with version 2.x, I searched "python 3 book" and immediately come up with Programming in Python 3 Dive Into Python 3 Python 3 for Absolute Beginners + 'free' Non-Programmer's Tutorial for Python 3 https://en.wikibooks.org/wiki/Non-Programmer's_Tuto

Re: Python for Dummies exaple

2015-10-14 Thread Steve Hayes
On Wed, 14 Oct 2015 12:32:33 GMT, NewsLeecher User wrote: >In reply to "edmondo.giovanno...@gmail.com" who wrote the following: > >> Il giorno mercoled=EC 14 ottobre 2015 12:04:30 UTC+2, Chris Angelico ha scr= >> itto: >> > On Wed, Oct 14, 2015 at 8:55 PM, NewsLeecher User wrote: >> > > But with

Re: Python for Dummies exaple

2015-10-14 Thread Chris Angelico
On Wed, Oct 14, 2015 at 11:47 PM, Peter Otten <__pete...@web.de> wrote: > Chris Angelico wrote: > >> On Wed, Oct 14, 2015 at 8:55 PM, NewsLeecher User >> wrote: >>> #class example >>> class SayMyName: >>> def __init__(self, myname): >>> self.myname = myname >>> def say(self): >>>

Re: Python for Dummies exaple

2015-10-14 Thread Peter Otten
Chris Angelico wrote: > On Wed, Oct 14, 2015 at 8:55 PM, NewsLeecher User > wrote: >> #class example >> class SayMyName: >> def __init__(self, myname): >> self.myname = myname >> def say(self): >> print "Hello, my name is", self.myname > > Side point: This is a poor examp

Re: Python for Dummies exaple

2015-10-14 Thread NewsLeecher User
In reply to "edmondo.giovanno...@gmail.com" who wrote the following: > Il giorno mercoled=EC 14 ottobre 2015 12:04:30 UTC+2, Chris Angelico ha scr= > itto: > > On Wed, Oct 14, 2015 at 8:55 PM, NewsLeecher User wrote: > > > But with this script i get an error: > > > But i have not so many experienc

Re: Python for Dummies exaple

2015-10-14 Thread Chris Angelico
On Wed, Oct 14, 2015 at 8:55 PM, NewsLeecher User wrote: > #class example > class SayMyName: > def __init__(self, myname): > self.myname = myname > def say(self): > print "Hello, my name is", self.myname Side point: This is a poor example for _any_ Python. In Py2, that mak

Re: Python for Dummies exaple

2015-10-14 Thread edmondo . giovannozzi
Il giorno mercoledì 14 ottobre 2015 12:04:30 UTC+2, Chris Angelico ha scritto: > On Wed, Oct 14, 2015 at 8:55 PM, NewsLeecher User wrote: > > But with this script i get an error: > > But i have not so many experience to see what the error is. > > Good someone help me with this ? > > You need to te

Re: Python for Dummies exaple

2015-10-14 Thread Chris Angelico
On Wed, Oct 14, 2015 at 8:55 PM, NewsLeecher User wrote: > But with this script i get an error: > But i have not so many experience to see what the error is. > Good someone help me with this ? You need to tell us what the error is :) But, looking in my crystal ball, I find a hint that you're usi

Python for Dummies exaple

2015-10-14 Thread NewsLeecher User
Hello, I have the book Python for Dummies and i downloaden from the Dummiesite some python examples. But with this script i get an error: But i have not so many experience to see what the error is. Good someone help me with this ? #Chapter 3 #Basic Elements and Syntax #= #SHORT EXAMPLES #