<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I think there is an option to register .py extensions in the CPython
installer. But it is hidden under some Extra settings button.<br>
<br>
--<br>
-- Lukáš<br>
<br>
<br>
On 22.10.2010 16:46, Vernon Cole wrote:
<blockquote
cite="mid:AANLkTikSKJ++dkoogYVTuMuVmsXAf3n-MZPEU5fB56OQ@mail.gmail.com"
type="cite">Your issue #2 is not a bug -- or at least it is the
same as all other installers.<br>
<br>
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.<br>
<br>
For example, the file "py23.bat" contains:<br>
c:\python23\python.exe %1 %2 %3 %4 %5 %6 %7 %8 %9<br>
<br>
and "py31.bat" contains:<br>
c:\python31\python.exe %1 %2 %3 %4 %5 %6 %7 %8 %9<br>
<br>
and "ipy.bat" contains:<br>
"c:\program files\IronPython 2.7\ipy.exe" %1 %2 %3 %4 %5 %6 %7 %8
%9<br>
<br>
The file "python.bat" points to my chosen default version for this
week.<br>
<br>
So to test"myTestScript" under IronPython 2.7, I type:<br>
ipy myTestScript.py arg1 arg2<br>
<br>
The same little c:\utils directory also contains such handy tools
as tail.exe, unix2dos.exe, less.exe, and 2to3.bat, which contains:<br>
c:\python26\python.exe c:\python26\Tools\Scripts\2to3.py %1 %2 %3
%4 %5 %6 %7 %8 %9<br>
<br>
You get the picture... Those of us who's brains are stuck in
console mode do this sort of thing.<br>
--<br>
Vernon<br>
<br>
<div class="gmail_quote">On Fri, Oct 22, 2010 at 6:44 AM, Adal
Chiriliuc <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:adal.chiriliuc@gmail.com">adal.chiriliuc@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">Hi,<br>
<br>
Thanks for making available a new IronPython build. The 2.7
Beta 1<br>
installer has a few issues through:<br>
<br>
1. Changing the default installation folder doesn't work:
IronPython<br>
will be installed in two places: "C:\Program Files
(x86)\IronPython<br>
2.7" and the installation folder that you specified.<br>
<br>
2. If you have already have CPython installed, IronPython will<br>
overwrite the icon for .py files, but not for .pyc and .pyw
files.<br>
Please don't replace the CPython icons or at least make this
an<br>
installer option.<br>
<font color="#888888"><br>
Adal<br>
</font>
<div>
<div class="h5"><br>
</div>
</div>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a>
</pre>
</blockquote>
<br>
</body>
</html>