am.py
pyc.py
Here is my Program.py
import clr
clr.AddReference('System.Windows.Forms')
from System.Windows.Forms import *
clr.AddReference('form.dll')
from ipform import Form1
form = Form1()
Application.Run(form)
--
Brian Wilson
Corvallis Oregon
On Fri, Jun 10, 2011 at 12:42, Jeff Hardy wrote:
> Hi all,
> Is anyone in the Seattle area interested in an IronPython meetup, or
> even a sprint? Anybody fancy a hands-on crash course in how IronPython
> works? Let me know! If enough people are interested, I'll work
> something out (probably for
On Sun, May 15, 2011 at 12:03, Chad Brockman wrote:
> Is anyone aware of any efforts to allow usage of matplotlib from
> IronPython?
>
>
>
> http://matplotlib.sourceforge.net/
>
I've never heard of any. I don't think any of the backends (tk, wx, Qt) work
with IronPython, and they have a bunch o
On Fri, Apr 1, 2011 at 20:32, Vernon Cole wrote:
> Just to make sure we are all on the same page here, the original post said:
>
> I've been trying to find a solution for creating Symbolic Links via
> IronPython scripting, [...snip...]
> [Interop.DllImport("kernel32.dll", Entr
On Tue, Mar 22, 2011 at 14:06, Doug Blank wrote:
> I'm using the following C# code as a replacement for "ipy.exe
> myscript.py". One reason for doing this is that this can be run in the
> background on Unix/Mac OSX under Mono, whereas ipy.exe can not. I
> don't know if there are other reasons, or
On Tue, Mar 22, 2011 at 10:24, Jeff Hardy wrote:
> On Tue, Mar 22, 2011 at 9:19 AM, Doug Blank wrote:
> > Is there a place on IronPython's codeplex site that we could document
> > this information?
> >
> > Currently, there are many assumptions on:
> >
> >
> http://ironpython.codeplex.com/wikipag
: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Brian Ashcroft
Sent: Wednesday, March 09, 2011 9:44 AM
To: users@lists.ironpython.com
Subject: [IronPython] Cast double to object
I have an array of type object that I am trying to populate from inside
a
I have an array of type object that I am trying to populate from inside
a script. I create the data, type it and assign it to the array.
However, it seems that ironpython will only accept data that has been
cast to int. Here is the code, can you tell me what I am doing wrong?
RectangleToken =
On Mon, Mar 7, 2011 at 10:42, Jeff Hardy wrote:
> I'll be there, and so will Dino (with something very cool to show
> off). Anybody else?
>
> - Jeff
I'll be there Wednesday night through Tuesday night.
___
Users mailing list
Users@lists.ironpython.com
On Sun, Feb 20, 2011 at 23:39, Vernon Cole wrote:
> Thanks! That worked great.
> Now here's my first direct contribution.
> see http://ironpython.codeplex.com/workitem/30218 for a version of
> webbrowser.py which actually works on cli.
> (and therefore "import antigravity" also works.)
> --
> Ver
On Wed, Feb 16, 2011 at 08:30, Jeff Hardy wrote:
> On Wed, Feb 9, 2011 at 12:47 PM, Vernon Cole
> wrote:
> > Dear Group:
> >I would like to start a discussion about adding modules to the
> IronPython
> > distribution which are not in the C-Python standard library. The idea
> would
> > be to
On Feb 3, 2011 4:56 PM, "Daniel D." wrote:
>
> Is there a analyse on how one can participate in bug sprint?
>
> Wouldn't want to go over same bugs others already reviewed. Do we mark
each bug with "yep, still a problem" comment? Do we make a list and post it
somewhere on shared Google docs spreads
On Thu, Feb 3, 2011 at 14:20, Brian Curtin wrote:
> On Thu, Feb 3, 2011 at 13:35, Jeff Hardy wrote:
>
>> Is there any interest in an IronPython IRC channel? Is there already
>> one in existence somewhere? I've never been a fan of IRC, personally,
>> but if othe
On Thu, Feb 3, 2011 at 13:35, Jeff Hardy wrote:
> Is there any interest in an IronPython IRC channel? Is there already
> one in existence somewhere? I've never been a fan of IRC, personally,
> but if others are it would round out our communication channels.
>
> - Jeff
It looks like #ironpython
Thanks for the help, I discovered clr.AddReferenceToFileAndPath which
does all the hard work off adding the path to the sys.path ;-)
Thanks,
Brian
-Original Message-
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Jeff Hardy
Sent
source = engine.CreateScriptSourceFromString(code,
SourceCodeKind.Statements );
source.Execute(scope);
}
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Brian Ashcroft
Sent: Thursday, February 03, 2011 9:00 AM
To: users@lists.ir
Hello,
I have an ironpython instance running within my application. This
instance is used to control the application. I have a math dll that I
reference in the hosting application that I would like to be able to use
also in the ironpython scripting. However, I get error messages when I
try t
On Tue, Jan 18, 2011 at 22:45, Jeff Hardy wrote:
> Hi all,
> I've been thinking about what we need to do to get IronPython 2.7 to
> RTM status, and the biggest stumbling block I have is that I don't
> really know what people think of Beta 1. Most of the issues with B1
> specifically are related t
On Sun, Jan 16, 2011 at 16:06, Richard Nienaber wrote:
> Having said that, I'm still looking for a guideline about what to do in the
> scenario where the behaviour of IronPython is more 'correct' than CPython.
>
> Richard
>
I would suggest creating issues on the CPython bug tracker for those case
On Thu, Oct 28, 2010 at 02:27, Jeff Hardy wrote:
>
> My preference is to stick with TFS/SVN for the time being, get 2.7 out
> the door (manually syncing up the DLR sources with IronRuby in the
> meantime), and then look at converting to Mercurial. My second choice
> would be to work out of IronRu
On Fri, Oct 22, 2010 at 09:59, Lukas Cenovsky wrote:
> I think there is an option to register .py extensions in the CPython
> installer. But it is hidden under some Extra settings button.
>
> --
> -- Lukáš
>
It's currently an option during the customization step, right after you
choose where to
On Fri, Jul 9, 2010 at 13:05, Marcin Krol wrote:
> Hello everyone,
>
> I have successfully used JSON as serialization protocol between various
> clients and servers in 2 projects, incl. Java app talking to Python servers,
> so I would like to use JSON in my upcoming C/S project as well: there's
>
On Mon, Jun 7, 2010 at 20:21, Zhi-Yue Sun wrote:
> Hi all,
>
> I'm a new to IronPython Tools. I heard that IronPython Toos is cool. Can
> anyone tell me Where can I download the IronPython Tools for Visaul Studio
> 2010.
>
> Thanks,
> -ZhiYue Sun
>
ZhiYue,
Check out http://ironpython.net/ironpy
On Thu, May 6, 2010 at 10:58, Thomas Gagne wrote:
> My question is simpler, how do I exit a regular script?
>
> If ARGV.length != 1
>puts "usage:"
>Process.exit
> end
>
> I get an error calling Process.exit (private member)
> Process.Exit (method does not exist)
> sys.Exit (undefined
On Sat, May 1, 2010 at 23:45, Steve Dower wrote:
>
> My own 'Python tools' (for VS2008, never made it beyond private use)
> automatically adds the package name to the caption of __init__.py
> files (as shown in
> http://zooba.byteclub.net/files/2010/05/ipytool-initname.png) through
> a couple of
On Sun, May 2, 2010 at 07:34, Lukáš Duběda wrote:
> Hi there everyone,
>
> first off, congratulations for pushing the IPy Tools out! KUDOS!
>
> Now, I have a problem installing it, unfortunately :( I'm sure I'm
> doing something wrong as I have almost zero experience with
> Visual Studio.
>
> I w
On Thu, Mar 11, 2010 at 11:11, Ken MacDonald wrote:
> Hi, I have an app with a popup containing a listbox. I want to dynamically
> add a few items to the listbox and found code in a number of places which
> does something like:
>
> listbox.Items.Add(ListItem("Special", 11))
>
On Sat, Feb 20, 2010 at 15:55, Michael Foord wrote:
> On 20/02/2010 15:53, Lukas Cenovsky wrote:
>
> Brian Curtin wrote:
>
> On Sat, Feb 20, 2010 at 13:20, Lukas Cenovsky wrote:
>
>> Lukáš Duběda wrote:
>>
>>> Hi there everyone,
>>>
>>> I&
On Sat, Feb 20, 2010 at 13:20, Lukas Cenovsky wrote:
> Lukáš Duběda wrote:
>
>> Hi there everyone,
>>
>> I'm having problems importing a module, concretely win32com, from within
>> IronPython.
>>
>> The problem is, when I run IronPython as a console, and add a path to
>> the standard Python26 lib
On Tue, Feb 2, 2010 at 15:00, Lukáš Duběda wrote:
> Hi there everybody,
>
> I'd really appretiate if anyone could share their experience
> with any good dotNET GUI designer. I'd love to have such
> functionality I can get out of QtDesigner, where I visually
> design my forms and buttons and what
On Tue, Jan 19, 2010 at 18:25, Joshua Kramer wrote:
>
> Hello Vicent,
>
> Regarding IronPython in Visual Studio 2008: don't try this. Visual Studio
> 2008 is hopelessly broken when it comes to Python, and it will mangle your
> Python code. At least that's the way it was when I tried it several
python.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Michael Foord
Sent: Wednesday, November 11, 2009 10:07 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Help - Running IPY with .NET 3.5
Brian Ushman (TT) wrote:
>
> Hello to All,
>
>
>
> I am new to Python in ge
Hello to All,
I am new to Python in general, but I have downloaded the latest release
of IronPython. I am using Windows XP SP3 x64. Everytime I start IPY is
says that it is using .NET 2.0, however I would like it to load with
.NET 3.5. From what I have read on the latest release of IPY, this
I'm not sure what I was doing wrong when this clearly simpler way wasn't
working, but this pretty much answers my question: do this -
Form.OnLoad(self, evt_args)
Sorry for the noise.
On Fri, Oct 23, 2009 at 13:45, Brian Curtin wrote:
> Hey list,
>
> I think I got this rig
ass Form.OnLoad.
Any thoughts?
Brian
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
On Tue, Oct 6, 2009 at 06:45, Michael Foord wrote:
> Hello guys,
>
> The msi installer installs by default into "C:\Program Files\IronPython
> 2.6". It also creates a "Lib\site-packages" folder.
>
> Presumably the intention is that site-packages is for installed modules /
> packages, however "Prog
How would someone replace CallTargetX with Func<...> within a script? For
example, how would you change the Invoke calls in onChanged and onRenamed
here:
http://www.ironpython.info/index.php/Invoking_onto_the_GUI_%28Control%29_Thread
I've never seen how to use Func within an IP script, just within
On Wed, Aug 12, 2009 at 09:44, Alexander Mail wrote:
> Hi,
> I'm developing an application for MacOsX build with python and cocoa. Now I
> want to convert my project to a Windows .Net project.
> But I have this problem: in one of my classes i use pysqlite module.
> How i can use this module on Iro
On Wed, Jul 29, 2009 at 12:51, Kelie wrote:
> Hello,
>
> Is SQLite currently supported in IronPython? If not, is SQLite .NET
> from http://sqlite.phxsoftware.com/ the best alternative?
>
> Thanks.
sqlite3 is implemented as a C extension, and as such, does not currently
work.
I've used the libr
ur app. You'll then get an on-disk version
of the subclass for Gtk.Window and the call to Location should now
be fine.
-Original Message-
From: users-boun...@lists.ironpython.com [mailto:users-
boun...@lists.ironpython.com] On Behalf Of Brian Parma
Sent: Friday, July 17, 2009 9:35 PM
I've been trying to make a simple IronPython+Gtk# app that draws an
image to the screen, and I'm having trouble getting it to run in windows
(.NET). It's pretty simple so I attached it at the end.
It runs fine in Mono on Ubuntu and Windows, but when I try to run it on
windows using .NET I get
On Wed, Jul 1, 2009 at 09:31, Sivaguru Perambalam wrote:
> Hello ,
>
> I have a Windows form with a text box and a button.
> What I want to implement it, when the user hits the 'Enter' key in the text
> box, the function that's linked to the ButtonClick event has to be invoked.
> Please give me li
On Mon, Jun 29, 2009 at 12:22, Sarah Abdel Razak wrote:
> Thanks for your reply I just knew that spss Python plugin has to be built
> for specific Python implementations.
> Unfortunately it does not support IronPython.
>
> Regards
> --
> Sarah Abdelrazak
>
Even though they don't support it, it w
y true or false values to True
or False, remove the semicolons (not required though), etc. A few
find-and-replaces turns C# code into working Python code :)
Michael's suggestion of creating a class library may be more up your alley.
His book does
IronPython Studio is abandonware.
The forms editor seemed nice at first, but minor changes to the source it
generated caused the forms editor to no longer render what the form should
look like ever again (in my experience). I believe this was more of a
showcase of the VS SDK than a tool you can le
Check out http://code.google.com/p/davysironpythoneditor/
I haven't used this, but it might be worth a shot. Works with 2.0 and the
2.6 beta.
Michael Foord has also done work to get some nifty IronPython functionality
working in the Wing IDE, which might be worth looking at if you have Wing
licens
. This particular case is just bad coding on our part. I can't
> promise you that there aren't other examples, but at least this one is
> pretty easy to fix.
>
>
> On Sun, Jan 4, 2009 at 8:58 AM, Brian Merrell wrote:
>
>> Thanks Curt. I've filed a
hing which may not be
> thread-safe. It looks like all of the IronPython crypto implementations do
> the same thing, so the SHA functions may have a similar issue.
> Please file this as a bug on Codeplex.
>
> On Sat, Dec 20, 2008 at 1:56 PM, Brian Merrell wrote:
>
&g
print md5, abs_filename
self.queue.task_done()
Any ideas why this is failing? Thanks,
-brian
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
On 11/2/06, Keith J. Farmer <[EMAIL PROTECTED]> wrote:
I wondered when the announcement was going to happen...With days left spare between the CTP release and David Ebbo's presentation at ASP.NET connections in Las Vegas next Tuesday! ;-)
___
users mail
Hey everyone,
I am missing a key step trying to recreate the
"from powershell import *" from Jim Hugunin demo
(http://weblog.infoworld.com/udell/screenroom/ironpython_flv.html). I
always get the "no module named powershell" error.
Does anyone know what else needs to be setup for IronPython to fi
et0'
But the IronPython tutorial has not been updated i.e.
avalon.py:
37 def CallBack(f, p = DispatcherPriority.Normal):
38 Application.Current.Dispatcher.BeginInvoke(
p, IronPython.Runtime.CallTarget0(f))
39
So does anyone know where th
I wrote a simple pong implementation using IronPython and Avalon/XAML.
See:
http://www.sweetapp.com/avalon/ipong.html
Cheers,
Brian
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
rnally
and then announce the details?
Cheers,
Brian
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
sion%20Tests
on CodePlex captures the state of the regression suite and is fairly up to
date.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fuzzyman
Sent: Tuesday, July 11, 2006 7:31 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Module
What standard Python modules are available in IronPython? Is there a process
for adding missing libraries to the base distribution or is it left as a user
exercise to add them from the standard Python distribution?
=
Brian Rowe
Bridgewater Associates
203 291 2849
animation).
If anyone is interested, I've put the code up here:
http://www.sweetapp.com/avalon/
And feel free to ask me if you find any problems.
Cheers,
Brian
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/
s assembly B that contributes the non-generic
type
'SomeType' to the namespace 'foo.bar'
Maybe that's not a problem for the IP implementation, but thought I'd
note it just in case.
-Brian
> -Original Message-
> From: [EMAIL PROTECTED]
> [ma
Dino Viehland wrote:
> What version of IronPython are you running against?
> This seems to work for me against the most recently
> released version (beta 7).
Sorry, beta 6. I'll upgrade, thanks.
Cheers,
Brian
___
users mail
t; m = Mutex()
Traceback (most recent call last):
File , line 0, in input##34
NotImplementedError: generate: type: System.DBNull
Cheers,
Brian
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
t; # my_event += lambda x,y : None
>>> # my_event(None, EventArgs())
Or some equivalent syntax for accomplishing the same thing?
2. Is it possible to define new delegate types in IronPython e.g. like
this C# would:
public delegate Foo(
sambiguate it after
the fact:
>>> import System
>>> System.IComparable
>>> # abandon all hope, ye who enter here...
>>> NonGenericIComparable = System.IComparable<<0
>>> OneParamGenericIComparable = System.IComparable<<1
>>> TwoPar
sambiguate it after
the fact:
>>> import System
>>> System.IComparable
>>> # abandon all hope, ye who enter here...
>>> NonGenericIComparable = System.IComparable<<0
>>> NonGenericIComparable = System.IComparable<<0
Thoughts?
-Brian
o you see if
you do dir() on
this pseudo-type? What would you pass to a System.Reflection method
that expected
a Type? Those still need to be answered, but I'd argue that for the
most part normal
users of the type from Python won't have to worry about it if we do the above.
explicit-is-bett
On 1/28/06, Nikolaus Wagner <[EMAIL PROTECTED]> wrote:
Hi!Where can I download the latest version of Ironpython?
You can find the download links at the bottom of this, the IronPython "workspace" page:
http://www.gotdotnet.com/workspaces/workspace.aspx?id=ad7acff7-ab1e-4bcb-99c0-57ac5a3a9742
__
On 12/14/05, Stanislas Pinte <[EMAIL PROTECTED]> wrote:
> It is very important for me to be able to give the user that kind of
> feedback...is there a way to do it?
Martin Maly recently posted:
"The reason you see the 'report an error to MS' dialog is our change
in exception handling that I descri
hat will
work when 1.0 is released.
Brian Raynes
--
*******
* Brian Raynes*
* Land Surveyor I
t better (and I
like it better as a sustainable pattern to bridge these kinds
of gaps) than anything else I can think of...
Brian Lloyd[EMAIL PROTECTED]
V.P. Engineering 540.361.1716
Zope Corporation http://www.zope.com
___
Right - the fact that CPython encourages/forces you to work with
structs, pointers, etc. directly is the real problem. If there
were a truly 'abstract' interface for C extensions it would be
much easier to contemplate a CLR (or other VM) abstraction layer.
I bet the PyPy folks wish t
I think there's a recent book out on WPF as well by Oreilly.
On 10/31/05, Shawn Farkas <[EMAIL PROTECTED]> wrote:
> Hi Liam,
>
> You can check out
> http://winfx.msdn.microsoft.com/library/default.asp?url=/library/en-us/portals/html/7579a80a-fd14-440f-b6f7-a1193e100598.asp
> for links to WPF doc
70 matches
Mail list logo