[Tutor] Tutor Digest, Vol 130, Issue 28
Jim Gallaher
jcgallaher78 at gmail.com
Tue Dec 16 13:16:56 CET 2014
Sunil Bharuchi,
I have that same book so I can answer this question. The code can be found at the author's site. programgames.com
> On Dec 16, 2014, at 05:00, tutor-request at python.org wrote:
>
> Send Tutor mailing list submissions to
> tutor at python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mail.python.org/mailman/listinfo/tutor
> or, via email, send a message with subject or body 'help' to
> tutor-request at python.org
>
> You can reach the person managing the list at
> tutor-owner at python.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Tutor digest..."
>
>
> Today's Topics:
>
> 1. Re: Is there an easily or shorter way? (Dave Angel)
> 2. Re: program code for Python Programming for the Absolute
> Beginner, 3rd ed.? (Sunil Bharuchi)
> 3. Re: program code for Python Programming for the Absolute
> Beginner, 3rd ed.? (Alan Gauld)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 15 Dec 2014 22:50:59 -0500
> From: Dave Angel <davea at davea.name>
> To: tutor at python.org
> Subject: Re: [Tutor] Is there an easily or shorter way?
> Message-ID: <548FAC23.1030205 at davea.name>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>> On 12/15/2014 07:55 PM, Ken G. wrote:
>>
>> Oh, it is not an assignment, Dave. It is an actual program I am using
>> for my benefit. I had to figure out on a fly, what is the name of a piece
>> of property that each number represent. I had to reckon something out
>> within a limited amount of time I had. Giving the response given here
>> so far, I could go with a list, dictionary or tuple.
>
> Two other advantages with using a tuple, list or dictionary
>
> 1) is that you might someday need to do the reverse lookup, changing a
> string back into the integer. If you do it from the same data
> structure, you're more likely to get the transformation to be completely
> reversible (for valid values).
>
> 2) You might need to load this table from a file, or otherwise generate
> or check it on the fly. Tough to do that with separate function statements.
>
> --
> DaveA
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 15 Dec 2014 23:06:06 -0500
> From: Sunil Bharuchi <sbharuchi at gmail.com>
> To: tutor at python.org
> Subject: Re: [Tutor] program code for Python Programming for the
> Absolute Beginner, 3rd ed.?
> Message-ID:
> <CA+a9n=Bsykd_+qZxzV8zsRW_NQLtRnz6fsRwABYhz52=dd0OMQ at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> I went to the website (www.courseptr.com/downloads) to download the source
> code (py3e_source.zip). It's not there. Where can I get it the source code?
>
> --
> Sunil Bharuchi
> sunilkumar.bharuchi.mil at mail.mil
> sbharuchi at gmail.com
> (C) 408.644.7626
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 16 Dec 2014 10:39:20 +0000
> From: Alan Gauld <alan.gauld at btinternet.com>
> To: tutor at python.org
> Subject: Re: [Tutor] program code for Python Programming for the
> Absolute Beginner, 3rd ed.?
> Message-ID: <m6p24n$47m$1 at ger.gmane.org>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
>> On 16/12/14 04:06, Sunil Bharuchi wrote:
>> I went to the website (www.courseptr.com/downloads) to download the source
>> code (py3e_source.zip). It's not there. Where can I get it the source code?
>
> Try using Google with
>
> python absolute beginners source code
>
> --
> Alan G
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
> http://www.amazon.com/author/alan_gauld
> Follow my photo-blog on Flickr at:
> http://www.flickr.com/photos/alangauldphotos
>
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> https://mail.python.org/mailman/listinfo/tutor
>
>
> ------------------------------
>
> End of Tutor Digest, Vol 130, Issue 28
> **************************************
More information about the Tutor
mailing list