[IronPython] How to use IP as default Python engine?

Dino Viehland dinov at exchange.microsoft.com
Thu Mar 30 19:22:45 CEST 2006


For double click / enter you should be able to right click on the script, see "Opens with" on the General tab, select the Change button to the right, click the Browse button on the bottom of the Open With dialog that opens, and then find IronPythonConsole.exe in the file open dialog that comes up.



Do you want to help develop Dynamic languages on CLR? (http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038)

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of JoeSox
Sent: Thursday, March 30, 2006 7:02 AM
To: Discussion of IronPython
Subject: Re: [IronPython] How to use IP as default Python engine?

On 3/30/06, Albert Einstein <porkone at wp.pl> wrote:
> Hi
> I would like to use IP as default Python engine. That means I would like to run IP scripts using doubleclick or just 'enter' on script file or right mouse button and 'open with'. Now I have to run IP console and then 'import myModule'. Is it possible?
>
> p.s. sorry for my english ;)

I believe using PythonEngine, or the stream support(beta5 if I
understand correctly) will work for what you are asking.

If you are using MS VS, take a look at my IronTextBox (v1.1.5 now) control
http://codeproject.com/useritems/irontextbox.asp

It uses a PythonEngine to bypass the Console.  It would have been
better if I could devote more time to it.  Whenever I get spare time I
try to update it.
--
Joseph
_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list