From: John Bokma on 27 Jun 2010 21:25 geremy condra <debatem1(a)gmail.com> writes: > On Sun, Jun 27, 2010 at 8:50 PM, Grant Edwards <invalid(a)invalid.invalid> wrote: >> On 2010-06-27, Benjamin Kaplan <benjamin.kaplan(a)case.edu> wrote: >> >>>> It should be easier to have a large number of python versions on one >>>> machine... ?I am realy fond of 2.5 so I am probily going to start >>>> compiling them or just include the python2.5 exe if I port stuff and >>>> settle it that way.. >>> >>> You're on the only platform where it isn't that easy. All us *nix >>> users have to do is compile it with the altinstall flag, and then use >>> #!/usr/bin/env python25 >>> Windows uses the file extension instead of the shebang line to execute >>> stuff, so it's harder for you to have multiple versions. >> >> If you install a real shell on Windows, then the hash-bang line works >> fine. :) > > Might as well spare yourself the trouble and install linux or *bsd. It's > probably easier. Ah, yeah, and then run all those Windows applications one requires on Wine... -- John Bokma j3b Hacking & Hiking in Mexico - http://johnbokma.com/ http://castleamber.com/ - Perl & Python Development
From: Grant Edwards on 27 Jun 2010 21:33 On 2010-06-28, geremy condra <debatem1(a)gmail.com> wrote: > On Sun, Jun 27, 2010 at 8:50 PM, Grant Edwards <invalid(a)invalid.invalid> wrote: >> On 2010-06-27, Benjamin Kaplan <benjamin.kaplan(a)case.edu> wrote: >> >>>> It should be easier to have a large number of python versions on one >>>> machine... ?I am realy fond of 2.5 so I am probily going to start >>>> compiling them or just include the python2.5 exe if I port stuff and >>>> settle it that way.. >>> >>> You're on the only platform where it isn't that easy. All us *nix >>> users have to do is compile it with the altinstall flag, and then use >>> #!/usr/bin/env python25 >>> Windows uses the file extension instead of the shebang line to execute >>> stuff, so it's harder for you to have multiple versions. >> >> If you install a real shell on Windows, then the hash-bang line works >> fine. :) > > Might as well spare yourself the trouble and install linux or *bsd. It's > probably easier. In some cases it's definitely easier to install Linux than Cygwin. -- Grant
From: Ben Finney on 27 Jun 2010 22:05 Terry Reedy <tjreedy(a)udel.edu> writes: > On 6/27/2010 8:41 AM, David Cournapeau wrote: > > I think one point which needs to be emphasized more is what does > > python 3 bring to people. […] > Python3 is about finishing transitions. The last stage in a transition > that replaces something old with something new is to remove the old, > after showing that the new works. […] +1 QOTW -- \ “Perchance you who pronounce my sentence are in greater fear | `\ than I who receive it.” —Giordano Bruno, burned at the stake by | _o__) the Catholic church for the heresy of heliocentrism, 1600-02-16 | Ben Finney
From: geremy condra on 27 Jun 2010 22:18 On Sun, Jun 27, 2010 at 9:25 PM, John Bokma <john(a)castleamber.com> wrote: > geremy condra <debatem1(a)gmail.com> writes: > >> On Sun, Jun 27, 2010 at 8:50 PM, Grant Edwards <invalid(a)invalid.invalid> wrote: >>> On 2010-06-27, Benjamin Kaplan <benjamin.kaplan(a)case.edu> wrote: >>> >>>>> It should be easier to have a large number of python versions on one >>>>> machine... ?I am realy fond of 2.5 so I am probily going to start >>>>> compiling them or just include the python2.5 exe if I port stuff and >>>>> settle it that way.. >>>> >>>> You're on the only platform where it isn't that easy. All us *nix >>>> users have to do is compile it with the altinstall flag, and then use >>>> #!/usr/bin/env python25 >>>> Windows uses the file extension instead of the shebang line to execute >>>> stuff, so it's harder for you to have multiple versions. >>> >>> If you install a real shell on Windows, then the hash-bang line works >>> fine. :) >> >> Might as well spare yourself the trouble and install linux or *bsd. It's >> probably easier. > > Ah, yeah, and then run all those Windows applications one requires on > Wine... If you're bound to a platform, use it. My advice is just to get bound to a platform that does what you need it to do, and in my experience it's quite a bit easier to teach linux to do what you wanted windows to do than the other way around. Geremy Condra
From: John Bokma on 27 Jun 2010 22:35
geremy condra <debatem1(a)gmail.com> writes: > On Sun, Jun 27, 2010 at 9:25 PM, John Bokma <john(a)castleamber.com> wrote: >> geremy condra <debatem1(a)gmail.com> writes: >> >>> On Sun, Jun 27, 2010 at 8:50 PM, Grant Edwards <invalid(a)invalid.invalid> wrote: >>>> On 2010-06-27, Benjamin Kaplan <benjamin.kaplan(a)case.edu> wrote: >>>> >>>>>> It should be easier to have a large number of python versions on one >>>>>> machine... ?I am realy fond of 2.5 so I am probily going to start >>>>>> compiling them or just include the python2.5 exe if I port stuff and >>>>>> settle it that way.. >>>>> >>>>> You're on the only platform where it isn't that easy. All us *nix >>>>> users have to do is compile it with the altinstall flag, and then use >>>>> #!/usr/bin/env python25 >>>>> Windows uses the file extension instead of the shebang line to execute >>>>> stuff, so it's harder for you to have multiple versions. >>>> >>>> If you install a real shell on Windows, then the hash-bang line works >>>> fine. :) >>> >>> Might as well spare yourself the trouble and install linux or *bsd. It's >>> probably easier. >> >> Ah, yeah, and then run all those Windows applications one requires on >> Wine... > > If you're bound to a platform, use it. My advice is just to get bound to > a platform that does what you need it to do, and in my experience it's > quite a bit easier to teach linux to do what you wanted windows to do > than the other way around. I've used several operating systems over many years and each OS has its own issues. I am currently using mostly Linux and it's far from the flawless OS some people seem to think it is. While it's true that some things are easier on OS A than on OS B changing your operating system because one (minor) thing "doesn't work" is often not an option. On top of that, I don't think it's that hard to make a small program that one associates with .py files which checks the first line and feeds the .py to the correct version of Python based on the information in the aformentioned first line. Another option (instead of installing a better shell) might be to make several VMs, each with their own Python version. Run subversion (or any other version control system) on your host, and you can test whatever you want. There are plenty of people who are very happy with coding under an MS OS. I now and then miss those days :-). -- John Bokma j3b Hacking & Hiking in Mexico - http://johnbokma.com/ http://castleamber.com/ - Perl & Python Development |