Re: Python 2 to Python 3 .so library incompatibility - need help

2020-12-17 Thread Michał Jaworski
I've looked into the details of the deb package that Cameron mentioned. It may be the one that you Chris uss because it does indeed include a pyscand.so file. Quick question to you Chris: the utilities you've mentioned are the code that you've written yourself or utilities from /usr/libexec/okimfpu

Re: Python 2 to Python 3 .so library incompatibility - need help

2020-12-17 Thread Chris Green
Cameron Simpson wrote: > >> Guessing from the library name, have you looked on the OKI.com site > >> for current software? Maybe here? What's your printer model? > >> > >> https://www.oki.com/au/printing/support/drivers-and-utilities/index.html > >> > >> > >It comes from OKI with the Linux u

Re: Python 2 to Python 3 .so library incompatibility - need help

2020-12-16 Thread Cameron Simpson
On 16Dec2020 21:59, Chris Green wrote: >Cameron Simpson wrote: >> On 16Dec2020 18:51, Chris Green wrote: >> >The specific problem that finally prevented me from managing to get it >> >to work was a (Linux) .so file that had been built for Python 2 and, >> >as I don't have the source, I can't bui

Re: Python 2 to Python 3 .so library incompatibility - need help

2020-12-16 Thread Chris Angelico
On Thu, Dec 17, 2020 at 9:06 AM Chris Green wrote: > > Also, make note of the specific Python 2 version where your software > > works - the CPython API does change somewhat sometimes. > > > I still have python 2. The issue is that the programs need modules > which come from a PPA to support Pytho

Re: Python 2 to Python 3 .so library incompatibility - need help

2020-12-16 Thread Chris Green
Cameron Simpson wrote: > On 16Dec2020 18:51, Chris Green wrote: > >The specific problem that finally prevented me from managing to get it > >to work was a (Linux) .so file that had been built for Python 2 and, > >as I don't have the source, I can't build for Python 3. > > ChrisA I think suggeste

Re: Python 2 to Python 3 .so library incompatibility - need help

2020-12-16 Thread Chris Angelico
On Thu, Dec 17, 2020 at 8:26 AM Cameron Simpson wrote: > > On 16Dec2020 18:51, Chris Green wrote: > >The specific problem that finally prevented me from managing to get it > >to work was a (Linux) .so file that had been built for Python 2 and, > >as I don't have the source, I can't build for Pyth

Re: Python 2 to Python 3 .so library incompatibility - need help

2020-12-16 Thread Cameron Simpson
On 16Dec2020 18:51, Chris Green wrote: >The specific problem that finally prevented me from managing to get it >to work was a (Linux) .so file that had been built for Python 2 and, >as I don't have the source, I can't build for Python 3. ChrisA I think suggested keeping a Python 2.7 install aroun

Re: Python 2 to Python 3 .so library incompatibility - need help

2020-12-16 Thread Chris Angelico
On Thu, Dec 17, 2020 at 7:27 AM MRAB wrote: > > On 2020-12-16 19:16, Chris Angelico wrote: > > On Thu, Dec 17, 2020 at 6:06 AM Chris Green wrote: > >> > >> Some time ago (in July) I asked some questions here > >> about problems migrating some code f

Re: Python 2 to Python 3 .so library incompatibility - need help

2020-12-16 Thread MRAB
On 2020-12-16 19:16, Chris Angelico wrote: On Thu, Dec 17, 2020 at 6:06 AM Chris Green wrote: Some time ago (in July) I asked some questions here about problems migrating some code from Python 2 to Python 3. The specific problem that finally prevented me from managing to get it to work was a

Re: Python 2 to Python 3 .so library incompatibility - need help

2020-12-16 Thread Chris Angelico
On Thu, Dec 17, 2020 at 6:06 AM Chris Green wrote: > > Some time ago (in July) I asked some questions here > about problems migrating some code from Python 2 to Python 3. > > The specific problem that finally prevented me from managing to get it > to work was a (Linux) .so

Python 2 to Python 3 .so library incompatibility - need help

2020-12-16 Thread Chris Green
Some time ago (in July) I asked some questions here about problems migrating some code from Python 2 to Python 3. The specific problem that finally prevented me from managing to get it to work was a (Linux) .so file that had been built for Python 2 and, as I don't have the source, I can&#x

Finally fixed my Python 2 to Python 3 e-mail problem

2020-08-29 Thread Chris Green
I've started a new thread because this relates to two or three threads I started here over the past few days. First, thank you everyone for all the help and suggestions. I've finally fixed the problem, it was due to sys.stdin.read() returning a string object in Python 3 as opposed to bytes in Py

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-20 Thread Chris Angelico
On Fri, Aug 21, 2020 at 9:20 AM Cameron Simpson wrote: > > On 21Aug2020 04:00, Chris Angelico wrote: > >Fortunately, the *next* release of Ubuntu fixes this: > > > >https://packages.ubuntu.com/groovy/mercurial > > > >It depends on Python 3.8 instead. No idea why the 20.04 release insists > >on 2.

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-20 Thread Cameron Simpson
On 21Aug2020 04:00, Chris Angelico wrote: >Fortunately, the *next* release of Ubuntu fixes this: > >https://packages.ubuntu.com/groovy/mercurial > >It depends on Python 3.8 instead. No idea why the 20.04 release insists >on 2.7. I would guess they didn't have the resources to regression test the

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-20 Thread Cameron Simpson
On 20Aug2020 18:13, Chris Green wrote: >Cameron Simpson wrote: >> On 19Aug2020 08:53, Chris Green wrote: >> >Maybe I should bite the bullet and make Python 3 the default Python >> >and see what falls over as a consequence. >> >> Don't change the system default Python - many system scripts rely o

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-20 Thread Chris Green
Chris Angelico wrote: > On Fri, Aug 21, 2020 at 3:21 AM Chris Green wrote: > > It's actually more subtle and complicated than the OS changing or not > > changing the default Python version. There are quite a lot of > > questions about exactly this on the Ubuntu lists. All the OS python > > code

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-20 Thread Chris Angelico
On Fri, Aug 21, 2020 at 3:21 AM Chris Green wrote: > It's actually more subtle and complicated than the OS changing or not > changing the default Python version. There are quite a lot of > questions about exactly this on the Ubuntu lists. All the OS python > code in Ubuntu 20.04 is now Python 3

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-20 Thread Chris Green
Cameron Simpson wrote: > On 19Aug2020 08:53, Chris Green wrote: > >I have quite a lot of things installed with pip, however I've never > >had this problem with dependencies before. Adding to the fun is that > >my system has still got Python 2 as the default Python so I have to > >run pip3 explic

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-20 Thread Vincent Vande Vyvre
Le 20/08/20 à 09:07, Robin Becker a écrit : > . >>> so obviously I need to install some version of boost libs or >>> Boost.Python etc etc. Gave up :( >>> -luddite-ly yrs- >>> Robin Becker >>> >> The aur repository, no ? >> >> https://aur.archlinux.org/packages/python-exiv2/ >> >> Vincent >>

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-20 Thread Robin Becker
. so obviously I need to install some version of boost libs or Boost.Python etc etc. Gave up :( -luddite-ly yrs- Robin Becker The aur repository, no ? https://aur.archlinux.org/packages/python-exiv2/ Vincent that would work (if I had thought hard about it), but not for a pip instal

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Cameron Simpson
On 19Aug2020 08:53, Chris Green wrote: >I have quite a lot of things installed with pip, however I've never >had this problem with dependencies before. Adding to the fun is that >my system has still got Python 2 as the default Python so I have to >run pip3 explicitly to get Python 3 code. My app

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Vincent Vande Vyvre
Le 19/08/20 à 10:15, Robin Becker a écrit : > On 18/08/2020 20:05, Vincent Vande Vyvre wrote: > . >>> >> Hi, >> >> Two solutions: >> 1. Install exiv2-dev and py3exiv2 with pip >> $ sudo apt-get install libexiv2-dev >> $ sudo pip3 install py3exiv2 >> >> 2. Install my ppa >>    

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Chris Green
Robin Becker wrote: > On 18/08/2020 20:05, Vincent Vande Vyvre wrote: > . > >> > > Hi, > > > > Two solutions: > > 1. Install exiv2-dev and py3exiv2 with pip > >     $ sudo apt-get install libexiv2-dev > >     $ sudo pip3 install py3exiv2 > > > > 2. Install my ppa > >     $ sudo ad

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Chris Green
Vincent Vande Vyvre wrote: > Le 18/08/20 à 19:22, Chris Green a écrit : > > I have a fairly simple Python program that I wrote a while ago in > > Python 2 that transfers images from my camera to a date ordered > > directory hierarchy on my computer. > > > > I am trying to get it to work on Python

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Robin Becker
On 18/08/2020 20:05, Vincent Vande Vyvre wrote: . Hi, Two solutions: 1. Install exiv2-dev and py3exiv2 with pip     $ sudo apt-get install libexiv2-dev     $ sudo pip3 install py3exiv2 2. Install my ppa     $ sudo add-apt-repository ppa:vincent-vandevyvre/vvv     $ sudo apt-ge

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Chris Green
Chris Angelico wrote: > On Wed, Aug 19, 2020 at 3:36 AM Chris Green wrote: > > > > I have a fairly simple Python program that I wrote a while ago in > > Python 2 that transfers images from my camera to a date ordered > > directory hierarchy on my computer. > > > > I am trying to get it to work on

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-18 Thread Vincent Vande Vyvre
Le 18/08/20 à 19:22, Chris Green a écrit : > I have a fairly simple Python program that I wrote a while ago in > Python 2 that transfers images from my camera to a date ordered > directory hierarchy on my computer. > > I am trying to get it to work on Python 3 as I have just upgraded to > Ubuntu 20

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-18 Thread Chris Angelico
On Wed, Aug 19, 2020 at 3:36 AM Chris Green wrote: > > I have a fairly simple Python program that I wrote a while ago in > Python 2 that transfers images from my camera to a date ordered > directory hierarchy on my computer. > > I am trying to get it to work on Python 3 as I have just upgraded to

Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-18 Thread Chris Green
I have a fairly simple Python program that I wrote a while ago in Python 2 that transfers images from my camera to a date ordered directory hierarchy on my computer. I am trying to get it to work on Python 3 as I have just upgraded to Ubuntu 20.04 and on that Python 3 is now the default version of

Re: python 2 to python 3

2015-02-25 Thread William Ray Wing
> On Feb 24, 2015, at 9:55 PM, Audrey McFarlane wrote: > > I am using Wing101 v.5 and it is using Python2, but I want to make it use > Python3 instead because need Python3 for a uni lab. How do I change it? > -- > https://mail.python.org/mailman/listinfo/python-list Assuming you have Python

Re: python 2 to python 3

2015-02-25 Thread Steven D'Aprano
Audrey McFarlane wrote: > I am using Wing101 v.5 and it is using Python2, but I want to make it use > Python3 instead because need Python3 for a uni lab. How do I change it? I'm afraid I don't use Wing so I can't give a good answer, but I googled and found this: http://stackoverflow.com/quest

python 2 to python 3

2015-02-25 Thread Audrey McFarlane
I am using Wing101 v.5 and it is using Python2, but I want to make it use Python3 instead because need Python3 for a uni lab. How do I change it? -- https://mail.python.org/mailman/listinfo/python-list

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

2009-12-10 Thread Vinay Sajip
On Dec 3, 12:12 am, Terry Reedy wrote: > At the moment (3.1) there are, unfortunately, library packages that > require % for formatting (logging, I believe, for one). There has been > discussion on adding a new option for 3.2, but I do not know what will > happen. Depends on whether you want to be

Re: Moving from Python 2 to Python 3: 4 page "cheat sheet" issue#3

2009-12-04 Thread Mark Summerfield
On 3 Dec, 01:17, Antoine Pitrou wrote: > Le Tue, 01 Dec 2009 06:03:36 -0800, Mark Summerfield a écrit : > > > I've produced a 4 page document that provides a very concise summary of > > Python 2<->3 differences plus the most commonly used new Python 3 > > features. It is aimed at existing Python 2

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

2009-12-03 Thread Mark Summerfield
On 2 Dec, 21:28, David H Wild wrote: > In article > <9d290ad6-e0b8-4bfa-92c8-8209c7e93...@a21g2000yqc.googlegroups.com>, >    Mark Summerfield wrote: > > > > There is a typographical fault on page 4 of this pdf file. The letter > > > "P" is missing from the word "Python" at the head of the compar

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

2009-12-03 Thread David H Wild
In article <9d290ad6-e0b8-4bfa-92c8-8209c7e93...@a21g2000yqc.googlegroups.com>, Mark Summerfield wrote: > > There is a typographical fault on page 4 of this pdf file. The letter > > "P" is missing from the word "Python" at the head of the comparison > > columns. > I can't see that problem---I'

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

2009-12-03 Thread Wolodja Wentland
On Wed, Dec 02, 2009 at 08:03 -0800, Mark Summerfield wrote: > On Dec 2, 11:20 am, Wolodja Wentland > > It would be quite nice if you could mark all the Python 3 idioms that > > work in Python 2.X as well. This would allow readers that are still using > > Python 2.X and are used to the 'old way'

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

2009-12-03 Thread Mark Summerfield
On 3 Dec, 01:17, Antoine Pitrou wrote: > Le Tue, 01 Dec 2009 06:03:36 -0800, Mark Summerfield a écrit : > > > I've produced a 4 page document that provides a very concise summary of > > Python 2<->3 differences plus the most commonly used new Python 3 > > features. It is aimed at existing Python 2

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

2009-12-03 Thread Mark Summerfield
On 2 Dec, 20:59, MRAB wrote: > Mark Summerfield wrote: > > On 2 Dec, 19:28, David H Wild wrote: > >> In article > >> <351fcb4c-4e88-41b0-a0aa-b3d63832d...@e23g2000yqd.googlegroups.com>, > >>    Mark Summerfield wrote: > > >>> I only just found out that I was supposed to give a different URL: > >

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

2009-12-03 Thread Mark Summerfield
On 2 Dec, 22:49, "John Posner" wrote: > On Wed, 02 Dec 2009 13:34:11 -0500, Carsten Haese   > > wrote: > > > With string interpolation, you don't need to do that, either. > '%*d' % (8,456) > > '     456' > > Thanks, Carsten and Mark D. -- I'd forgotten about the use of "*" in   > minimum-fie

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

2009-12-02 Thread Antoine Pitrou
Le Tue, 01 Dec 2009 06:03:36 -0800, Mark Summerfield a écrit : > I've produced a 4 page document that provides a very concise summary of > Python 2<->3 differences plus the most commonly used new Python 3 > features. It is aimed at existing Python 2 programmers who want to start > writing Python 3

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

2009-12-02 Thread Terry Reedy
Mark Summerfield wrote: Well it seems clear to me that the BDFL wants to kill of % formatting, but wasn't able to for Python 3... Definitely. I thought of adding autonumbering of fields (in 3.1) in response to his inquiry about the barriers to moving to .format. That solved 'simplicity of de

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

2009-12-02 Thread John Posner
On Wed, 02 Dec 2009 13:34:11 -0500, Carsten Haese wrote: With string interpolation, you don't need to do that, either. '%*d' % (8,456) ' 456' Thanks, Carsten and Mark D. -- I'd forgotten about the use of "*" in minimum-field-width specs and precision specs (doh). How about this:

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

2009-12-02 Thread MRAB
Mark Summerfield wrote: On 2 Dec, 19:28, David H Wild wrote: In article <351fcb4c-4e88-41b0-a0aa-b3d63832d...@e23g2000yqd.googlegroups.com>, Mark Summerfield wrote: I only just found out that I was supposed to give a different URL: http://www.informit.com/promotions/promotion.aspx?promo=1

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

2009-12-02 Thread Mark Summerfield
On 2 Dec, 19:28, David H Wild wrote: > In article > <351fcb4c-4e88-41b0-a0aa-b3d63832d...@e23g2000yqd.googlegroups.com>, >    Mark Summerfield wrote: > > > I only just found out that I was supposed to give a different URL: > >http://www.informit.com/promotions/promotion.aspx?promo=137519 > > This

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

2009-12-02 Thread John Bokma
Mark Summerfield writes: > On 1 Dec, 23:52, John Bokma wrote: >> Mark Summerfield 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/...

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

2009-12-02 Thread David H Wild
In article <351fcb4c-4e88-41b0-a0aa-b3d63832d...@e23g2000yqd.googlegroups.com>, Mark Summerfield wrote: > I only just found out that I was supposed to give a different URL: > http://www.informit.com/promotions/promotion.aspx?promo=137519 > This leads to a web page where you can download the doc

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

2009-12-02 Thread Mark Dickinson
On Dec 2, 4:41 pm, "John Posner" wrote: >   Goal: place integer 456 flush-right in a field of width 8 > >    Py2: "%%%dd" % 8 % 456 >    Py3: "{0:{1}d}".format(456, 8) > > With str.format(), you don't need to nest one formatting operation within   > another. A little less mind-bending, and every l

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

2009-12-02 Thread Carsten Haese
John Posner wrote: > Goal: place integer 456 flush-right in a field of width 8 > > Py2: "%%%dd" % 8 % 456 > Py3: "{0:{1}d}".format(456, 8) > > With str.format(), you don't need to nest one formatting operation > within another. With string interpolation, you don't need to do that, either. >

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

2009-12-02 Thread John Posner
On Wed, 02 Dec 2009 10:55:23 -0500, Mark Summerfield wrote: On Dec 1, 2:03 pm, Mark Summerfield wrote: I've produced a 4 page document that provides a very concise summary of Python 2<->3 differences plus the most commonly used new Python 3 features. It is aimed at existing Python 2 program

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

2009-12-02 Thread Mark Summerfield
On Dec 2, 4:22 pm, Mark Summerfield wrote: > On Dec 2, 11:31 am, "Martin P. Hellwig" > wrote: > > > MarkSummerfieldwrote: > > > > 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

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

2009-12-02 Thread Mark Summerfield
On Dec 2, 11:31 am, "Martin P. Hellwig" wrote: > MarkSummerfieldwrote: > > > 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/... > > > Very handy! Am I

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

2009-12-02 Thread Mark Summerfield
On Dec 2, 11:20 am, Wolodja Wentland wrote: > On Wed, Dec 02, 2009 at 00:10 -0800, Mark Summerfield wrote: > > On 1 Dec, 18:30, Lie Ryan wrote: > > > Also, I'm not sure what this change is referring to: > > > Python 2                 Python 3 > > > L = list(seq)            L = sorted(seq) > > > L

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

2009-12-02 Thread Mark Summerfield
On Dec 2, 8:53 am, Mark Dickinson wrote: > On Dec 2, 8:01 am, MarkSummerfield wrote: > > > On 1 Dec, 17:50, Mark Dickinson wrote: > > > My only quibble is with the statement on the first page that > > > the 'String % operator is deprecated'.  I'm not sure that's > > > true, for all values of 'dep

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

2009-12-02 Thread Mark Summerfield
On Dec 1, 2:03 pm, Mark Summerfield wrote: > I've produced a 4 page document that provides a very concise summary > of Python 2<->3 differences plus the most commonly used new Python 3 > features. It is aimed at existing Python 2 programmers who want to > start writing Python 3 programs and want t

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

2009-12-02 Thread Martin P. Hellwig
Mark Summerfield wrote: 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/python/python2python3.pdf Very handy! Am I wrong in assuming that you forgot to inc

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

2009-12-02 Thread Wolodja Wentland
On Wed, Dec 02, 2009 at 00:10 -0800, Mark Summerfield wrote: > On 1 Dec, 18:30, Lie Ryan wrote: > > Also, I'm not sure what this change is referring to: > > Python 2                 Python 3 > > L = list(seq)            L = sorted(seq) > > L.sort() > > > > L.sort is still available in python, and

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

2009-12-02 Thread Mark Dickinson
On Dec 2, 8:01 am, Mark Summerfield wrote: > On 1 Dec, 17:50, Mark Dickinson wrote: > > My only quibble is with the statement on the first page that > > the 'String % operator is deprecated'.  I'm not sure that's > > true, for all values of 'deprecated'.  There don't appear > > to be any definite

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

2009-12-02 Thread Mark Summerfield
On 1 Dec, 23:52, John Bokma wrote: > Mark Summerfield 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,

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

2009-12-02 Thread Mark Summerfield
On 1 Dec, 21:55, Terry Reedy wrote: > Mark Summerfield wrote: > > I've produced a 4 page document that provides a very concise summary > > of Python 2<->3 differences plus the most commonly used new Python 3 > > features. It is aimed at existing Python 2 programmers who want to > > start writing P

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

2009-12-02 Thread Mark Summerfield
On 1 Dec, 18:30, Lie Ryan wrote: > On 12/2/2009 1:03 AM, Mark Summerfield wrote: > > > > > I've produced a 4 page document that provides a very concise summary > > of Python 2<->3 differences plus the most commonly used new Python 3 > > features. It is aimed at existing Python 2 programmers who wa

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

2009-12-02 Thread Mark Summerfield
On 1 Dec, 17:50, Mark Dickinson wrote: > On Dec 1, 2:03 pm, Mark Summerfield wrote: > > > I've produced a 4 page document that provides a very concise summary > > of Python 2<->3 differences plus the most commonly used new Python 3 > > features. > > Very nice indeed! > > My only quibble is with t

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

2009-12-01 Thread John Bokma
Mark Summerfield 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/python/python2python3.pdf Thanks! > And of course, if you want more on Python

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

2009-12-01 Thread Terry Reedy
Mark Summerfield wrote: I've produced a 4 page document that provides a very concise summary of Python 2<->3 differences plus the most commonly used new Python 3 features. It is aimed at existing Python 2 programmers who want to start writing Python 3 programs and want to use Python 3 idioms rath

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

2009-12-01 Thread Lie Ryan
On 12/2/2009 1:03 AM, Mark Summerfield wrote: I've produced a 4 page document that provides a very concise summary of Python 2<->3 differences plus the most commonly used new Python 3 features. It is aimed at existing Python 2 programmers who want to start writing Python 3 programs and want to us

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

2009-12-01 Thread Mark Dickinson
On Dec 1, 2:03 pm, Mark Summerfield wrote: > I've produced a 4 page document that provides a very concise summary > of Python 2<->3 differences plus the most commonly used new Python 3 > features. Very nice indeed! My only quibble is with the statement on the first page that the 'String % operat

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

2009-12-01 Thread Gnarlodious
On Dec 1, 7:03 am, Mark Summerfield wrote: > "Programming in Python 3 (Second Edition)" ISBN-10: 0321680561. I ordered it... -- Gnarlie http://Gnarlodious.com -- http://mail.python.org/mailman/listinfo/python-list

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

2009-12-01 Thread Daniel Fetchinson
> I've produced a 4 page document that provides a very concise summary > of Python 2<->3 differences plus the most commonly used new Python 3 > features. It is aimed at existing Python 2 programmers who want to > start writing Python 3 programs and want to use Python 3 idioms rather > than those fr

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

2009-12-01 Thread Mark Summerfield
I've produced a 4 page document that provides a very concise summary of Python 2<->3 differences plus the most commonly used new Python 3 features. It is aimed at existing Python 2 programmers who want to start writing Python 3 programs and want to use Python 3 idioms rather than those from Python