Care to share an example? I am very interested in this.
On Mon, Jun 30, 2008 at 10:39 PM, Michael Stephens <[EMAIL PROTECTED]> wrote:
> Thanks.. I've got a basic example up.
>
> Michael Stephens
>
> Electrical Engineering Graduate Student
> University of Wyoming
> [EMAIL PROTECTED] or [EMAIL PROTE
What's wrong with good old SharpDevelop? If you grab a recent build
from the build server it comes with IronPython 1.1, C#, VB.NET, Boo
and F# support out of the box. I have been using this for all my .NET
development needs. I'm not 100% certain if you can use the .NET
debugger with IronPython, and
Could you use something like Cecil for this?
On 6/13/08, Dan Eloff <[EMAIL PROTECTED]> wrote:
> It's readonly in Python, and that's the way it's meant to be. But I'm
> porting Jinja2 to IronPython (Silverlight hopefully) and Jinja uses
> ctypes to dig deep into CPython's guts and make a function
Well don't I feel like a moron. I should have spotted that. I
apologize for posting before thinking.
On Feb 5, 2008 4:29 PM, Curt Hagenlocher <[EMAIL PROTECTED]> wrote:
> On Feb 5, 2008 1:24 PM, Tim Riley <[EMAIL PROTECTED]> wrote:
> > I was testing out the code pro
I was testing out the code provided and when I tested it using the
example I got the following error.
Note: I'm using IronPython 2.0 Alpha (2.0.0.800) on .NET 2.0.50727.1433
C:\Documents and Settings\TJRiley\Desktop\ClrWrapper>ipy.exe
MakeModule.py Xtest.py
Traceback (most recent call last):
I tested with the svn version of pyexpat you linked to but still no luck.
Tim
On Dec 27, 2007 6:14 PM, Sanghyeon Seo <[EMAIL PROTECTED]> wrote:
> 2007/12/28, Tim Riley <[EMAIL PROTECTED]>:
> > Yeah something isn't right.
>
> Can you try again after updat
s',
'iterkeys', 'itervalues', 'keymap', 'keys', 'pop', 'popitem',
'setdefault', 'update', 'values']
14
ipy.exe output gives me:
['__class__', '__cmp__', '__contains__', '__delitem__
I am trying to access my gmail account using the latest IronPython
Community Edition (IPY, not IPY2) and the python feedparser library.
When I run the following script through python 2.5 everything works
great, however when I run it through ipy.exe I get an error. I was
wondering if anyone has any
I just tried and am having the same problem.
On Dec 11, 2007 2:16 PM, JoeSox <[EMAIL PROTECTED]> wrote:
> On 12/11/07, Fuzzyman <[EMAIL PROTECTED]> wrote:
> > Hello all,
> >
> > My apologies if this has been announced on the list before - but I
> > wasn't aware of it.
> >
> > http://www.codeplex.c
hon
I think I have a pretty good handle on what I need to do from my code.
Thanks again.
Tim
On 10/10/07, JoeSox <[EMAIL PROTECTED]> wrote:
> On 10/10/07, Tim Riley <[EMAIL PROTECTED]> wrote:
> > I am looking for some direction for running a GUI based IronPython
> > console
I am looking for some direction for running a GUI based IronPython
console from IronPython code. I have found a sample of hosting
IronPython in IronPython that Mr. Foord had created but it doesn't
help me out with figuring out how to tie it to a RichTextBox. Has
anyone done this and if so do they h
not a delegate getting collected issue.
>
> If that doesn't work then we'll need to go into unmanaged debugging territory
> w/ windbg/cdb/ntsd :).
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Riley
> Sent: Thursd
the call this shouldn't be an issue but you could set the environment
> variable COMPlus_MDA=1 to enable CLR Managed Debugging Assistants to see if
> you get any warnings about that firing. I don't really believe this could be
> happening but it would be consistent w/ th
On 8/30/07, Dino Viehland <[EMAIL PROTECTED]> wrote:
> I think you should be able to just pass a function object to PythonRegister
> and it should be converted into a delegate. For example:
>
> import clr
> clr.AddReference('PyAcadDotNet')
> from PyAcadDot
I'm embedding IronPython in a C# dll that is hosted inside a program
called AutoCAD. In order to register commands in AutoCAD from .NET I
need to P/Invoke a C function inside a .dll. I can do this fairly easy
from C# but I can't figure out the right way to call my C# wrapper
from IronPython to have
> def _method(self):
> some code ...
>
> I have used this approach with Silverlight assemblies for creating
> classes with methods marked with attributes.
>
> I hope this helps.
>
> Please no one post this code as is - I'll write up and post an article
t would register the test command so I could call it from the
command line.
[1] As an example:
http://through-the-interface.typepad.com/through_the_interface/2007/07/updating-a-spec.html
Tim
On 7/23/07, Michael Foord <[EMAIL PROTECTED]> wrote:
> Tim Riley wrote:
> > Michael:
>
Michael:
Thanks for the reply. However when reading it my eyes glazed over. Is
there any way you could provide a simple man like myself with some
example code for me to peruse?
Tim
On 7/23/07, Michael Foord <[EMAIL PROTECTED]> wrote:
> Tim Riley wrote:
> > I know that IronPython
I know that IronPython doesn't support attributes but does anyone know
of a workaround that will allow IP code to use them?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
he cherrypy folder? So if trying
to run from the directory where setup.py is found, before that do
copy cherrypy\*.* .
?
At 03:46 PM 12/27/2006, Tim Riley wrote
Copy the cherrypy folder that is in the same folder containing setup.pydirectly
into the directory you're trying to run your code
Copy the cherrypy folder that is in the same folder containing
setup.pydirectly into the directory you're trying to run your code
from. You don't
need to put it into site packages.
On 12/27/06, Ivan Porto Carrero <[EMAIL PROTECTED]> wrote:
I'm sorry but if I try that it will always come up with
Michael:
Very good stuff. Thank you for taking the time to provide this to the
community.
~Tim
On 12/17/06, Michael Foord <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:
> {ran_emo} In celebration of the new IronPython section I've added a new
entry to the `Windows Forms Tutorial Series
`
You don't need to package the IronPython distribution if you compile your
code to a stand alone executable using Pyc from the samples.
See:
http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython&title=Samples
On 11/24/06, Bill64bits <[EMAIL PROTECTED]> wrote:
Suppose you want to deplo
Has anyone successfully got web.py to work with IronPython? I'd be very interested to hear about it if anyone has.
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
eople could add samples. Any thoughts?Regards,Tim Riley
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Very useful. Thank you for pointing that out as I hadn't noticed.TimOn 9/8/06, Shri Borde <[EMAIL PROTECTED]
> wrote:
In case you hadn't noticed, there is a new IronPythonApiReference.chm
in the Doc folder in the zip 1.0 RTM zip files, both bin and src. This should
help answer many of t
I keep getting an error from codeplex when I try to download 1.0.bin. Am I the only one?On 9/5/06, Jim Hugunin <
[EMAIL PROTECTED]> wrote:I'm extremely happy to announce that we have released IronPython
1.0 today! http://www.codeplex.com/IronPythonI started work on IronPython almost 3 years ago.
gine.CreateOptimizedModule which you can
also pass a name your module should get. Let us know if that doesn't meet
your needs.
Martin
From:
[EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED]] On
Behalf Of Tim Riley
Sent: Thursday, August 10, 2006 2:17 PM
To: Discussion of Iron
MAIL PROTECTED]] On
Behalf Of Tim Riley
Sent: Thursday, August 10, 2006 1:01 PM
To: Discussion of IronPython
Subject: [IronPython] PythonEngine.RunFile
In IP version 0.9 there was a PythonEngine.RunFile() method,
this seems to be gone in 1.0
(object assembly);
AddReference adr =
engine.CreateMethod("import clr\nclr.AddReference(assembly)");
adr(typeof(SomeAutoCadType).Assembly);
From:
[EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED]] On
Behalf Of Tim Riley
Sent: Thursday, August 10, 2006 12:10 PM
To: Discussion of IronPytho
In IP version 0.9 there was a PythonEngine.RunFile() method, this seems to be gone in 1.0.6. Is there a replacement?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Tim Riley
Sent: Thursday, August 10, 2006 11:40 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Embedding Question
What I'm trying to do is sort
of weird so let me see if I can elaborate further. I am embe
te:
Adding references updates the entire engine, it's not local to
just the current module. So once you have added a reference you just need to
import the namespace into any given module.
Were you also trying to avoid the import statements?
From:
[EMAIL PROTECTED] [mail
without having to do the import clr,
clr.AddReferenceToFileAndPath('blah') stuff in the beginning of each file. Is this possible?Regards,Tim Riley
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
le (or use any other.NET attribute), you just can't do it from IronPython at the moment. :-(Fuzzyman
http://www.voidspace.org.uk/python/index.shtml> Martin>> -------->> *From:*
[EMAIL PROTECTED]> [mailto:[EMAIL PR
Is it possible to use .NET attributes in IronPython? For example I have C# code that looks like:[CommandMethod("MyCommand", CommandFlags.Modal)]public static void RunMyCommand(){ 'code here
}Can I do something similiar in IP? I'll take anything.
___
us
/ideas on this. I'm not necessarily looking for a full code solution, however some pointer would be extremely helpful.Thanks for reading,Tim Riley
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Check the Ironpython tutorial included with IronPython. There is a section titled "Tutorial 3: IronPython and COM interoperability".Best of luck,Tim RileyOn 2/8/06,
Weffers, H.T.G. <[EMAIL PROTECTED]> wrote:
If the following is a too frequently asked question,
then please
forgive me.
Be
>From what I understand System.Windows.Forms is not complete in Mono as of yet. You might want to check out http://www.mono-project.com/Mono_Project_Roadmap for an idea of what mono currently can and can't do.
In the future you might want to look into GTK# for cross platform development.Good Luck,T
This works for me using Mono 1.1.13 and IronPython 1.0.2190 on Windows XP.IronPython 1.0.2190 (Beta) on .NET 2.0.50727.42Copyright (c) Microsoft Corporation. All rights reserved.>>> import sys
>>> sys.path.append('c:\Python24\Lib')>>> import string>>> dir(string)['ImportError', 'KeyError', 'Templat
Runtime: Mono-1.1.13Version: IronPython 1.0.2190When executing IronPython from the following batch file I get some weird behavior in IronPythonConsole.exe. It seems that as I type in the console it sends two of each character. This behavior only occurs when I pass the "-X:TabCompletion" parameter.
I don't understand. Why would you use an or statement when assigning a dockstyle?~TimOn 12/28/05, jeff sacksteder <
[EMAIL PROTECTED]> wrote:The code in this snippet fails, claiming the bitwise operator '|' is
unsupported for for DockStyles. Is this an unimplemented item, bug, or
misunderstanding o
mal GC: Included Boehm (with typed GC) SIGSEGV : normalC:\IronPython\bin>mono IronPythonConsole.exe
IronPython 0.9.6 on .NET 2.0.50727.42Copyright (c) Microsoft Corporation. All rights reserved.>>>On 12/20/05, Tim Riley <
[EMAIL PROTECTED]> wrote:I m
I may be wrong but I was under the impression that the more recent versions of IronPython utilized portions of the .NET 2 framework that have yet to be implemented in mono.Regards,Tim Riley
On 12/19/05, Anand Pillai <[EMAIL PROTECTED]> wrote:
Incidentally, I got the same error with Iron
44 matches
Mail list logo