Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #244870
| From | Mike Kupfer <mkupfer@alum.berkeley.edu> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: converting Python2 to Python3 |
| Date | 2022-01-31 17:40 +0100 |
| Message-ID | <DLHSF-68t-5@gated-at.bofh.it> (permalink) |
| References | <DLEi6-3Wl-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
The Wanderer wrote: > On 2022-01-30 at 23:01, Mike Kupfer wrote: > > > FWIW, here are my notes from converting a couple small private scripts: > > > > * Note that 2to3 does not change the shebang line. And the actual > > command in Debian10 [and 11] is 2to3-2.7. > > This is in the 'python2.7' package. However, there is also a package > named '2to3', which contains a command by the same name. Ah, I see. Both the files in /usr/bin are trivial wrappers, with 2to3-2.7 using the Python 2.7 library and 2to3 using the Python 3 library. I expect that 2to3 would be the better choice (/me updates notes). thanks, mike
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
sparse dictionary "Russell L. Harris" <russell@rlharris.org> - 2022-01-30 20:50 +0100
Re: sparse dictionary Charlie <taoquester@gmail.com> - 2022-01-30 22:50 +0100
Re: sparse dictionary "Russell L. Harris" <russell@rlharris.org> - 2022-01-31 01:20 +0100
Re: sparse dictionary Greg Wooledge <greg@wooledge.org> - 2022-01-31 01:40 +0100
Re: sparse dictionary Greg Wooledge <greg@wooledge.org> - 2022-01-31 02:30 +0100
Re: sparse dictionary "Russell L. Harris" <russell@rlharris.org> - 2022-01-31 03:40 +0100
Re: sparse dictionary The Wanderer <wanderer@fastmail.fm> - 2022-01-31 04:40 +0100
converting Python2 to Python3 (was: sparse dictionary) Mike Kupfer <mkupfer@alum.berkeley.edu> - 2022-01-31 05:20 +0100
Re: converting Python2 to Python3 The Wanderer <wanderer@fastmail.fm> - 2022-01-31 13:50 +0100
Re: converting Python2 to Python3 Mike Kupfer <mkupfer@alum.berkeley.edu> - 2022-01-31 17:40 +0100
Re: sparse dictionary "Russell L. Harris" <russell@rlharris.org> - 2022-01-31 06:20 +0100
Re: sparse dictionary Charlie <taoquester@gmail.com> - 2022-01-31 06:50 +0100
Re: sparse dictionary Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2022-01-31 07:50 +0100
Re: sparse dictionary The Wanderer <wanderer@fastmail.fm> - 2022-01-31 14:00 +0100
Re: sparse dictionary Tixy <tixy@yxit.co.uk> - 2022-01-31 14:40 +0100
Re: sparse dictionary The Wanderer <wanderer@fastmail.fm> - 2022-01-31 15:10 +0100
Re: sparse dictionary Charlie <taoquester@gmail.com> - 2022-01-31 06:40 +0100
Re: sparse dictionary Greg Wooledge <greg@wooledge.org> - 2022-01-31 13:40 +0100
Re: sparse dictionary Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2022-01-31 07:40 +0100
Re: sparse dictionary David Wright <deblis@lionunicorn.co.uk> - 2022-01-31 17:50 +0100
Re: sparse dictionary "Russell L. Harris" <russell@rlharris.org> - 2022-01-31 02:50 +0100
csiph-web