Moving from Python 2 to Python 3: A 4 page "cheat sheet"

John Bokma john at castleamber.com
Wed Dec 2 14:50:10 EST 2009


Mark Summerfield <list at qtrac.plus.com> writes:

> On 1 Dec, 23:52, John Bokma <j... at castleamber.com> wrote:
>> Mark Summerfield <l... at qtrac.plus.com> writes:
>> > It is available as a free PDF download (no registration or anything)
>> > from InformIT's website. Here's the direct link:
>> >http://ptgmedia.pearsoncmg.com/imprint_downloads/informit/promotions/...
>>
>> Thanks!
>>
>> > And of course, if you want more on Python 3, there's always the
>> > documentation---or my book:-)
>> > "Programming in Python 3 (Second Edition)" ISBN-10: 0321680561.
>>
>> Meh, second edition already? Haven't read the entire first edition
>> yet. Which is IMO a good book (I also gave it to my brother as a
>> present).
>
> If it is any consolation, the second edition should have a much longer
> life, now that we have the language moratorium. (I _really_ wanted to
> cover 3.1.)

Nah, I wasn't really complaining. Moreover, I am glad I didn't finish
the first edition, so I have less of a problem starting in the 2nd
edition from the beginning. From what I've read in the 1st edition it's
an excellent book.

>> Only negative point (to me) so far is that in the beginning (p8-9) the
>> book mentions placing Python programs in C:\py3eg which gives me the
>> unpleasant feeling that someone is coding on Windows XP with
>> Administrator rights...
>
> OK, you got me there,

I knew it ;-) Should've emailed you months ago and maybe it would have
changed in the 2nd edition :-(

> I only use Windows for testing purposes and my
> personal logon account does have Administrator rights, which I assumed
> was standard for personal machines?

I use XP Professional and the first thing I do after installation is
creating a limited user account for my day to day work. As far as I know
this can also be done in XP Home, but I've no experience with home.

> Also, the path is short. It is
> only a suggestion, it really doesn't matter where you unpack the
> examples.

My issue with it is that it somewhat promotes working with Administrator
rights, which is as dangerous as working with root rights on other OSes
if the machine is not connected to the Internet. If it's connected to
the Internet it's way more dangerous, sadly.

Anyway, thanks for writing IMO a very good book, and I *am* happy with a
second edition.

-- 
John Bokma

Read my blog: http://johnbokma.com/
Hire me (Perl/Python): http://castleamber.com/



More information about the Python-list mailing list