[IronPython] Announcing IronPython 2.7 Beta 1

Lukas Cenovsky cenovsky at bakalari.cz
Fri Oct 22 16:59:22 CEST 2010


I think there is an option to register .py extensions in the CPython 
installer. But it is hidden under some Extra settings button.

--
-- Lukás(


On 22.10.2010 16:46, Vernon Cole wrote:
> Your issue #2 is not a bug -- or at least it is the same as all other 
> installers.
>
> Every version of Python which you install will take over as the 
> default "Open" command for .py files -- and will supply it's own icon 
> for them.  When you are trying out a new Python version, you must 
> remember to re-install your chosen default version afterward, if you 
> expect to double-click a .py and get a certain version of Python to 
> start. The same thing happens with Python 3.1 and 2.7 for example.  I  
> use so many different versions that I have given up on the re-install 
> trick. I now use a bunch of .bat files (in a directory on my search 
> path) to pick the version I want.
>
> For example, the file "py23.bat" contains:
> c:\python23\python.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
>
> and "py31.bat" contains:
> c:\python31\python.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
>
> and "ipy.bat" contains:
> "c:\program files\IronPython 2.7\ipy.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9
>
> The file "python.bat" points to my chosen default version for this week.
>
> So to test"myTestScript" under IronPython 2.7, I type:
> ipy myTestScript.py arg1 arg2
>
> The same little c:\utils directory also contains such handy tools as 
> tail.exe, unix2dos.exe, less.exe, and 2to3.bat, which contains:
> c:\python26\python.exe c:\python26\Tools\Scripts\2to3.py  %1 %2 %3 %4 
> %5 %6 %7 %8 %9
>
> You get the picture... Those of us who's brains are stuck in console 
> mode do this sort of thing.
> --
> Vernon
>
> On Fri, Oct 22, 2010 at 6:44 AM, Adal Chiriliuc 
> <adal.chiriliuc at gmail.com <mailto:adal.chiriliuc at gmail.com>> wrote:
>
>     Hi,
>
>     Thanks for making available a new IronPython build. The 2.7 Beta 1
>     installer has a few issues through:
>
>     1. Changing the default installation folder doesn't work: IronPython
>     will be installed in two places: "C:\Program Files (x86)\IronPython
>     2.7" and the installation folder that you specified.
>
>     2. If you have already have CPython installed, IronPython will
>     overwrite the icon for .py files, but not for .pyc and .pyw files.
>     Please don't replace the CPython icons or at least make this an
>     installer option.
>
>     Adal
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20101022/dd42162d/attachment.html>


More information about the Ironpython-users mailing list