Re: [IronPython] Building IronPython on Mono, and web updates

2011-03-24 Thread Michael Foord
in that way, but I think ironpython.net is a better official project site. All the best, Michael Foord However, it appears that building the v2... targets doesn't work right now, which I was kinda afraid of. I think there's a discrepancy between the Microsoft.Scripting DLR and the .NET 4 DLR. I made

Re: [IronPython] IronPython 2.7.1 3.x Development

2011-03-15 Thread Michael Foord
On 15/03/2011 07:18, Vernon Cole wrote: #!/usr/bin/ipy3 A shebang on the first line is the usual way of specifying which scripting engine to use on a posix system. If introspection were to be used to select between python versions, that would be the most obvious way to do it. Windows (tm)

Re: [IronPython] IronPython @ PyCon 2011

2011-03-07 Thread Michael Foord
I'll be there. :-) Michael On 7 March 2011 16:52, Giles Thomas giles.tho...@resolversystems.comwrote: Jonathan Hartley and I will be flying the Resolver Systems flag... On 07/03/2011 16:42, Jeff Hardy wrote: I'll be there, and so will Dino (with something very cool to show off). Anybody

Re: [IronPython] IronPython @ PyCon 2011

2011-03-07 Thread Michael Foord
On 7 March 2011 17:48, Jeff Hardy jdha...@gmail.com wrote: I'm going to try to organize an IronPython OpenSpace/BoF/sprint for Fri/Sat. Page coming soon. Just don't clash with the testing BoF! (And sign up for it, last year it was epic.) Maybe we can look at the Mac issue (sysconfig) during

Re: [IronPython] IronPython @ PyCon 2011

2011-03-07 Thread Michael Foord
On 7 March 2011 18:27, Jeff Hardy jdha...@gmail.com wrote: On Mon, Mar 7, 2011 at 11:24 AM, Michael Foord fuzzy...@gmail.com wrote: Just don't clash with the testing BoF! (And sign up for it, last year it was epic.) I'm specifically trying to avoid that one ... it better live up

Re: [IronPython] Proposed Release Schedule for 2.7

2011-01-31 Thread Michael Foord
On 28/01/2011 23:39, Jeff Hardy wrote: I'd like to propose the following release schedule for IronPython 2.7: Beta 2 - February 6 RC1 - February 20 RC2 - February 27 RTM - March 6 Looks great - thanks for driving this forward Jeff. Michael The need for a Beta 3 release could push those

Re: [IronPython] Ref to . to be omitted from sys.path. Objections?

2011-01-23 Thread Michael Foord
os os.listdir('') Traceback (most recent call last): File stdin, line 1, in module OSError: [Errno 2] No such file or directory: '' All the best, Michael Foord - Jeff ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com

Re: [IronPython] Issue Triage

2011-01-16 Thread Michael Foord
On 16/01/2011 09:23, Richard Nienaber wrote: I've closed the following issues: test blocking: support setting field of value type when calling ctor http://ironpython.codeplex.com/workitem/24008 keyword argument is also treated as args for params array

[IronPython] PyCon 2011 - Full talk and tutorial list now available!

2011-01-10 Thread Michael Foord
I'm very pleased to announce, on behalf of the PyCon 2011 Program committee, and entire PyCon 2011 volunteer staff, that the full list of PyCon 2011 talks is now public, and available! This was an especially hard year for the PyCon program committee: we had over 200 proposals for only 95 total

Re: [IronPython] Tim Wyatt is out of the office

2010-12-29 Thread Michael Foord
Can we bounce this guys emails? Michael On 28 December 2010 23:41, Tim P. Wyatt twy...@ppi.ca wrote: I will be out of the office starting 24/12/2010 and will not return until 30/12/2010. I will be reviewing my email less frequently than usual. For urgent matters please contact the

Re: [IronPython] Re turning data to a form

2010-11-28 Thread Michael Foord
On 28/11/2010 18:47, robinsiebler wrote: I have 2 forms, form a has a button that launches form b. Form b has 2 textboxes and an OK button. When the OK button is clicked, I want the form to close and the data to be returned to form a. How do I do this? One way is to show the second form modally

Re: [IronPython] Re turning data to a form

2010-11-28 Thread Michael Foord
and let the first form look at the values after control has returned to it. (Presumably the first form is responsible for showing the second form, so it already has a reference to it.) All the best, Michael Michael Foord-3 wrote: On 28/11/2010 18:47, robinsiebler wrote: I have 2 forms

Re: [IronPython] bytes and str in 2.7 io module

2010-11-09 Thread Michael Foord
On 08/11/2010 19:44, Dino Viehland wrote: Jeff wrote: On Mon, Nov 8, 2010 at 10:55 AM, Dino Viehlanddi...@microsoft.com wrote: Ahh, yeah, we should probably have a helper method in here which will convert the string back to bytes rather than all of these casts to Bytes. It could also be

Re: [IronPython] Congratulations to Michael Foord on Receiving the Community Service Award

2010-11-05 Thread Michael Foord
:32:34 -0500 To: users@lists.ironpython.com Subject: [IronPython] Congratulations to Michael Foord on Receiving the Community Service Award The Python Software Foundation has presented the Community Service Award for the third quarter of 2010 to Michael Foord http

Re: [IronPython] The elephant in the room: source control for IronPython

2010-10-29 Thread Michael Foord
On 29/10/2010 19:46, Steve Dower wrote: Are IronPython and the DLR so closely coupled that you *need* the source for both to work on it? Or can you simply develop/test IronPython using the DLR in the GAC? In general (I believe) the DLR is an integral part of both the IronPython and the

Re: [IronPython] The elephant in the room: source control for IronPython

2010-10-29 Thread Michael Foord
On 28/10/2010 20:15, Noah Gift wrote: On Thu, Oct 28, 2010 at 6:34 AM, Michael Foord fuzzy...@voidspace.org.uk mailto:fuzzy...@voidspace.org.uk wrote: On 28/10/2010 03:53, Steve Dower wrote: I'll add in a vote for Mercurial (voting always seems to be how to decide

Re: [IronPython] All classes that subclass a given type

2010-10-29 Thread Michael Foord
(this is how IronPython on Silverlight does imports from the xap file). All the best, Michael Foord Thanks, slide -- http://www.voidspace.org.uk/ ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users

Re: [IronPython] The elephant in the room: source control for IronPython

2010-10-28 Thread Michael Foord
pretty well maintained. All the best, Michael Foord On Thu, Oct 28, 2010 at 18:27, Jeff Hardyjdha...@gmail.com wrote: Currently, IronPython is hosted in a TFS repository on CodePlex (http://ironpython.codeplex.com/), which was a copy of MS's internal TFS repository. CodePlex also provides

Re: [IronPython] Announcing IronPython 2.7 Beta 1

2010-10-22 Thread Michael Foord
* for IronPython. IronPython doesn't use .pyc files (and not really .pyw either I think) so it isn't surprising it doesn't change those. I would really prefer that IronPython doesn't seize the association with .py files without explicit instruction from the user . Michael Foord Every version of Python

Re: [IronPython] The Future of IronPython

2010-10-22 Thread Michael Foord
On 22/10/2010 18:01, Jeff Hardy wrote: On Fri, Oct 22, 2010 at 10:37 AM, Michael Foord mich...@voidspace.org.uk wrote: If the licenses *are* compatible, so we can ship a fully working zlib module, then fine (and great). It looks like the normal 3-clause BSD licence: http://componentace.com

Re: [IronPython] Bug in copy module (really need help with this!) :)

2010-10-12 Thread Michael Foord
On 12/10/2010 15:29, Pablo Dalmazzo wrote: Hello guys, we've found a bug in the copy module, but the real problem is we cant reproduce it. Sometimes when we try to deepcopy an object of a custom object relation mapping type, we get this error name types is not defined Line 55: for t in

Re: [IronPython] change in standard library behavior for compiled .exe/.dll???

2010-10-06 Thread Michael Foord
Hmmm... I'm pretty sure I always had to explicitly compile and bundle the standard library with previous versions of Python. Odd. Anyway, the simple solution is to ensure that you add any standard library modules you use to the set you compile and ship. All the best, Michael Foord os

Re: [IronPython] difference in compiling ipy in 3.5 vs. .NET 4.0?

2010-10-05 Thread Michael Foord
but a Python module from the standard library. You need to ensure that the Python standard library (or the parts that you use and their dependencies) is on the path. All the best, Michael Foord and how do I ensure it gets found from my .exe - is there a specific env. variable, or the Windows

Re: [IronPython] expat module for IronPython 2.6 for .NET?

2010-09-10 Thread Michael Foord
All the best, Michael Foord I need to use expat or SimpleXMLTreeBuilder for xml parsing from the following error: ImportError: No module named expat; use SimpleXMLTreeBuilder instead. Thanks, William Johnston ___ Users mailing list Users

[IronPython] Implementing an IronPython extension mechanism with abstract classes

2010-09-06 Thread Michael Foord
however.) Can this be made to work or is there a better way to do interface checking of Python classes subclassing .NET types? All the best, Michael Foord -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree

Re: [IronPython] Unittest Module Unavailable in V2.7a1

2010-08-30 Thread Michael Foord
the unittest package from a CPython 2.7 installation into your IronPython Lib directory. In IronPython 2.7 the unittest package is missing some files. All the best, Michael Foord Thanks. Have a great day! ** This e-mail and any

Re: [IronPython] Unittest Module Unavailable in V2.7a1

2010-08-30 Thread Michael Foord
containing several modules). The unittest package in Python 2.7 is a lot more capable, but using the Python 2.6 version of unittest.py will certainly work. All the best, Michael Foord *From:* users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] *On Behalf Of *Michael

Re: [IronPython] Prevention of SystemExit Dialog While Debugging

2010-08-30 Thread Michael Foord
On 31/08/2010 00:13, Jones, Larry wrote: I'm writing unit tests in IronPython. The implementation of unittest.main() calls sys.exit() when finished even if no testing errors occurred. Consequently, the Visual Studio debugger presents a dialog indicating that the SystemExit exception was

Re: [IronPython] If not IronPython, what?

2010-08-23 Thread Michael Foord
than that the technical arguments that have been presented against .NET in this thread are poor. All the best, Michael Foord Fortunately I can use Ironpython because it has the dot net magic. Unfortunately I cant use cpython because it's just not magic. I agree with Vernon, a VM

[IronPython] ironpython.net down

2010-08-13 Thread Michael Foord
Hello guys, Looks like someone forgot to pay the hosting bill for ironpython.net (?). Michael Foord -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all

Re: [IronPython] ironpython.net down

2010-08-13 Thread Michael Foord
On 14/08/2010 00:20, Dino Viehland wrote: I pinged someone about it - Jimmy used to take care of these things :) Cool. Michael -Original Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Friday

Re: [IronPython] IronPython Silverlight 4 debugging... [No errors just not working]

2010-08-11 Thread Michael Foord
On 11/08/2010 17:34, Andrew Evans wrote: Hello I am running IronPython 2.7A and trying to debug a Silverlight app. I am trying to figure out why my ship doesn't move when I press the Arrow keys. here is the complete source minus most imports :D Put some debugging in (append text to an html

Re: [IronPython] Exception Performance

2010-08-03 Thread Michael Foord
On 03/08/2010 16:41, Jeff Hardy wrote: Hi Cory, On Mon, Aug 2, 2010 at 12:41 PM, Cory Brostowicz cory.brostow...@gmail.com wrote: Hello, I noticed the performance in one of my python scripts has really bad performance, so I started profiling different sections of the script to find out

Re: [IronPython] Building IronPython from sources

2010-07-28 Thread Michael Foord
On 28/07/2010 16:04, Dave Fugate wrote: Hi Lukas, while IronPython 2.6.x itself won't be able to take advantage of Silverlight 4 features as it's built against Silverlight 3, I'd guess your Python scripts might be able to utilize these features. The differences between Silverlight 3 and 4

Re: [IronPython] unittest broken in IPy 2.7A1

2010-07-27 Thread Michael Foord
On 25/07/2010 01:56, Vernon Cole wrote: Dear development team: This one may be important... This error is because although the unittest package directory is present in the Lib directory, big chunks of the actual unittest package are missing... Michael c:\program files\IronPython

Re: [IronPython] Time out

2010-07-26 Thread Michael Foord
of Thread.Abort. You could do it another process altogether of course... Not aware of any easy alternatives. Michael On Fri, Jul 23, 2010 at 8:57 AM, Michael Foord fuzzy...@voidspace.org.uk mailto:fuzzy...@voidspace.org.uk wrote: On 23/07/2010 14:49, Saeli Mathieu wrote: Hello, I'm sending

Re: [IronPython] Problems with simple silverlight/gestalt example

2010-07-26 Thread Michael Foord
On 26/07/2010 23:51, Tony Meyer wrote: Hi, I guess this is more complex than I thought. Is anyone able to simply confirm that they are able to get a simple script like this (using gestalt.ironpython.net) working? At least if I know that it's theoretically possible, I can try and figure out

Re: [IronPython] Time out

2010-07-23 Thread Michael Foord
On 23/07/2010 14:49, Saeli Mathieu wrote: Hello, I'm sending this email to get more information about a specific using of ironPython. I'm working on a Silverlight 4 project and I'm using IronPython to execute script inside my C# code. The main objective is to allow users to code an AI and

Re: [IronPython] IronPython and Silverlight -- newbie question

2010-07-20 Thread Michael Foord
replace the IronPython binaries in the examples with the IronPython 2.6.1 IronPython for Silverlight binaries then all the code should just work. I need to update the examples and get Manning to use the later version - my apologies. All the best, Michael Foord -- Best Regards, Matt Funke

Re: [IronPython] IPy Dependencies?

2010-07-12 Thread Michael Foord
On 12/07/2010 19:31, Funke, Matt wrote: Is there any chance that IronPython has dependencies on PyQt or anything like that? Absolutely no chance at all. :-) Michael My copy of PyScripter (1.9.9.7) stopped working after I tried to use it to edit some scripts I was building for

Re: [IronPython] compiling an executable with the standard library

2010-07-12 Thread Michael Foord
On 12/07/2010 23:56, Andrew Evans wrote: A quick thought do I need to reference Threading by doing something like stdlib.Threading or can I just do from Threading import * Threading is imported from .NET and not from a Python library. The usual import is from System.Threading import Thread

Re: [IronPython] Adding more than one entry to a TextBox WPF

2010-07-11 Thread Michael Foord
On 11/07/2010 22:06, Andrew Evans wrote: Hello I am building a simple python app to further educate myself. I am almost some what complete with this application. However I can not think how to add more than one entry to a TextBox. So when I input the first value it stays and then the second

Re: [IronPython] Compiling so that IronPython libraries are recognized?

2010-07-09 Thread Michael Foord
On 09/07/2010 14:50, Funke, Matt wrote: I'm extremely new to compiling things in anything approaching a pythonic way, so my apologies in advance for what's probably a very simplistic question. I've downloaded the source for psycopg2-2.2.1. The documentation recommends using the standard

Re: [IronPython] using XAML in IronPython

2010-07-09 Thread Michael Foord
On 09/07/2010 23:14, Andrew Evans wrote: Hello I am learning IronPython having come from a CPython background, I started learning C# to add more to my knowledge base for IronPython. I have a few questions using XAML: First if I build something using the xaml designer in IronPython Studio

Re: [IronPython] IronPython/Silverlight -- callback problem

2010-07-08 Thread Michael Foord
(self, s, e): self.xaml_main_image.Source = self.bi This works as expected. Jan-Philip On 07.07.2010 18:49, Michael Foord wrote: On 06/07/2010 15:59, Jan-Philip Gehrcke wrote: Hello, I don't know if this is more an IronPython (2.6.1) issue than a Silverlight (4) issue, but I hope that I am

Re: [IronPython] Write permissions

2010-07-08 Thread Michael Foord
On 08/07/2010 09:37, Rob Brown-Bayliss wrote: Hi I have begun playing with ironpython and wpf. I come from a python on linux with gtk+ background. I have a problem with vista and trying to open a log file via the logging module: Access to the path 'C:\log.txt' is denied. Writing to

Re: [IronPython] GUI programming / IronPython

2010-07-08 Thread Michael Foord
material on both winforms and WPF, naturally. :-) All the best, Michael Foord -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from

Re: [IronPython] Packaging IronPython GUI app

2010-07-08 Thread Michael Foord
, or write a minimal C# .exe that embeds the IronPython engine and starts the app. Both ways are pretty easy. All you need to do is include the IronPython assemblies along with your app. All the best, Michael Foord -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ

Re: [IronPython] Dynamic-ish programming, or MissingMemberException

2010-07-08 Thread Michael Foord
On 08/07/2010 19:03, Marcin Krol wrote: Hello everyone, When I try to add attributes to self in a method outside __init__, I'm getting MissingMemberException. Do I have to add everything to __slots__ and __init__() ? I'm not saying it's not worth having smth like this to get Python plug

Re: [IronPython] Dynamic-ish programming, or MissingMemberException

2010-07-08 Thread Michael Foord
On 08/07/2010 19:26, Marcin Krol wrote: [snip...] IronPython Tools doesn't have a winforms designer because it isn't really possible without horrible hacks. I recommend using the Visual Studio C# designer and then subclass the classes it generates from IronPython. Thanks, this saves me

Re: [IronPython] Write permissions

2010-07-08 Thread Michael Foord
On 08/07/2010 19:46, Rob Brown-Bayliss wrote: On Thu, Jul 8, 2010 at 11:38 PM, Michael Foord fuzzy...@voidspace.org.uk wrote: Writing to C: in Vista and Windows 7 requires elevated permissions so your application will require admin privileges. Can you not choose another location to write

Re: [IronPython] png images in xaml

2010-07-08 Thread Michael Foord
On 08/07/2010 21:21, Rob Brown-Bayliss wrote: Hi I am using visual studio 2010 and the iron python tools. How do I place an image in a dialog? I have this in my xaml: Image Name=pm_logo Grid.Row='0' Image.Source BitmapImage UriSource=/Images/pm.png/BitmapImage

Re: [IronPython] Foolproof IP Embedding

2010-07-08 Thread Michael Foord
On 08/07/2010 22:34, Alex wrote: Hello In my WPF application, I want to have an expert mode that lets the end-user write inline python code targetting one specific control (a sheetmusic). I embed IronPython and when the user code throws an exception I catch it and display it but there are a

Re: [IronPython] IronPython/Silverlight -- callback problem

2010-07-07 Thread Michael Foord
On 06/07/2010 15:59, Jan-Philip Gehrcke wrote: Hello, I don't know if this is more an IronPython (2.6.1) issue than a Silverlight (4) issue, but I hope that I am talking to the right audience again (thank you for the great answers last time). I've created an `Image` class managing images

Re: [IronPython] IronPython Tools for existing project

2010-07-07 Thread Michael Foord
On 07/07/2010 22:18, Dino Viehland wrote: Michael wrote: A further problem I forgot to mention is that when I add / create items through the ui it puts absolute paths in the project file rather than relative ones. This makes it problematic to keep the project files under version control

Re: [IronPython] Better NumPy/SciPy Support for IronPython

2010-07-06 Thread Michael Foord
On 02/07/2010 21:52, Dave Fugate wrote: *From:* users-boun...@lists.ironpython.com [users-boun...@lists.ironpython.com] on behalf of Michael Foord [fuzzy...@voidspace.org.uk] *Sent:* Thursday, July 01, 2010 2:44 PM

Re: [IronPython] IronPython Tools for existing project

2010-07-06 Thread Michael Foord
is a real problem for us and negates some of the advantage of using Visual Studio. When there is any news on it please let us know. Also please let me know when there is news on informing the Silverlight xaml designer about referenced assemblies. All the best, Michael Foord On 06/07/2010 23

[IronPython] IronPython Tools for existing project

2010-07-05 Thread Michael Foord
Hello all, I'm working with a team on an IronPython Silverlight application. Some of the team develop with Windows and would like to use IronPython Tools for Visual Studio, especially for its debugging capabilities. This means I need to create a Visual Studio Solution and project(s) from the

Re: [IronPython] IronPython Tools for existing project

2010-07-05 Thread Michael Foord
. When I edit these paths to make them relative to the solution file / project file everything seems to work - so I can create a tool to fix the project files I guess. All the best, Michael Foord On 05/07/2010 15:38, Michael Foord wrote: Hello all, I'm working with a team on an IronPython

Re: [IronPython] IronPython Tools for existing project

2010-07-05 Thread Michael Foord
assemblies it needs to serve.) All the best, Michael -Original Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Monday, July 05, 2010 8:12 AM To: Discussion of IronPython Cc: Sven Passig Subject: Re: [IronPython

Re: [IronPython] IronPython Tools for existing project

2010-07-05 Thread Michael Foord
On 05/07/2010 21:27, Jimmy Schementi wrote: On Mon, Jul 5, 2010 at 1:22 PM, Michael Foord fuzzy...@voidspace.org.uk mailto:fuzzy...@voidspace.org.uk wrote: On 05/07/2010 21:20, Dino Viehland wrote: We should definitely be adding relative paths so this is just a bug

Re: [IronPython] Developing Silverlight apps using IronPython -- best strategies

2010-07-05 Thread Michael Foord
(but also code obfuscation which is always a controversial topic). We also use background thread importing but it is still not as fast as we *would like*... :-) I think the limitation here is in the core-CLR missing the APIs that Pyc uses to write out assemblies. All the best, Michael Foord

Re: [IronPython] Announcing IronPython Tools for Visual Studio CTP3

2010-07-02 Thread Michael Foord
will be at http://ironpython.net/tools/download/versions.html. That's helpful. Thanks Michael Foord ~Jimmy *From:* users-boun...@lists.ironpython.com [users-boun...@lists.ironpython.com] on behalf of Michael Foord [fuzzy

Re: [IronPython] Better NumPy/SciPy Support for IronPython

2010-07-01 Thread Michael Foord
On 01/07/2010 20:14, Dave Fugate wrote: Enthought, a company specialized in Python-based scientific computing solutions, announced a partnership with Microsoft several hours ago at the SciPy 2010 conference in which theyre porting over the NumPy and SciPy scientific

Re: [IronPython] Announcing IronPython Tools for Visual Studio CTP3

2010-07-01 Thread Michael Foord
/ Can the download page please have a download link on it instead of (or as well as) serving the download through a refresh: http://ironpython.net/tools/download/ Additionally, if possible, can the downloaded file have a version number in the filename please. :-) Thanks Michael Foord

Re: [IronPython] bug when overriding __delattr__

2010-06-23 Thread Michael Foord
On 23/06/2010 13:38, Ronnie Maor wrote: The following code works in CPython 2.6.2, but is broken in both IPy 2.6 and 2.6.1 class A(object): ... def __delattr__(self,name): ... object.__delattr__(self,name) ... a = A() a.x = 3 del a.x Traceback (most recent call last):

Re: [IronPython] Problem Closing Application

2010-06-14 Thread Michael Foord
, Jun 13, 2010 at 1:52 AM, Michael Foord fuzzy...@voidspace.org.uk mailto:fuzzy...@voidspace.org.uk wrote: On 12/06/2010 16:22, Anthony wrote: Hi All Just to state - I'm a real newbie to programming ironpython I have an application that has 2 forms. The application gets

[IronPython] Problem with ScriptSource.GetCodeProperties()

2010-06-13 Thread Michael Foord
to it throws for that as well. All the best, Michael Foord -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON

Re: [IronPython] Problem Closing Application

2010-06-12 Thread Michael Foord
On 12/06/2010 16:22, Anthony wrote: Hi All Just to state - I'm a real newbie to programming ironpython I have an application that has 2 forms. The application gets started in the progam.py module(btw i'm using #develop). This calls another module - login.py. This is a login form which

Re: [IronPython] NLTK in C# application?

2010-06-11 Thread Michael Foord
to this path (sys.path.append(r'c:\SomePath')) at the start of your code to add extra locations to your import path. All the best, Michael Thanks. *From:* Michael Foord [mailto:fuzzy...@voidspace.org.uk] *Sent:* Thursday, June 10, 2010 11:29 AM *To:* Discussion of IronPython *Cc:* William Johnston

Re: [IronPython] NLTK in C# application?

2010-06-11 Thread Michael Foord
) for IronPython. Two alternatives are: http://www.ironpython.info/index.php/Launching_Sub-Processes http://www.ironpython.info/index.php/The_subprocess_module All the best, Michael Foord As an aside, this works for Python 2.6. Thanks. *From:* Michael Foord [mailto:fuzzy...@voidspace.org.uk

Re: [IronPython] NLTK in C# application?

2010-06-10 Thread Michael Foord
mailing list could probably tell you. An easier route would be to install Python, then install PyYaml, then either copy the files to somewhere on sys.path for IronPython (or add your Python site-packages folder to sys.path in your IronPython code). All the best, Michael Foord Thanks

Re: [IronPython] Using Epydoc with IronPython 2.6.1

2010-06-09 Thread Michael Foord
On 09/06/2010 16:55, Danny Fernandez wrote: Hi All, I am a newbie in IronPython world which by the way rocks. I tried posting yesterday so I am not sure what happened so sorry if there is a double post. I am having trouble trying to use epydoc. I have IronPython 2.6.1 for .NET 2.0 on my

Re: [IronPython] Using Epydoc with IronPython 2.6.1

2010-06-09 Thread Michael Foord
had small python file but the clr module took most of the html documentation. I am newbie so I could be setting pydoc incorrectly. Thanks. Danny On Wed, Jun 9, 2010 at 10:56 AM, Michael Foord fuzzy...@voidspace.org.uk mailto:fuzzy...@voidspace.org.uk wrote: On 09/06/2010 16:55, Danny

Re: [IronPython] How should I install packages?

2010-06-09 Thread Michael Foord
On 07/06/2010 13:43, Matthew Wilson wrote: I've got an all-python package that should be compatible with ironpython. It seems like distutils.setup doesn't exist though, so my original setup.py script won't work. I might tweak my setup.py so that when it can't find a distutils.setup, it goes

[IronPython] Performance str.replace in Silverlight

2010-05-27 Thread Michael Foord
Verbindung zwischen Website_uniqueID - Firmen_uniqueID - FirmenAbrechnung_uniqueID bleibt somit erhalten. The replace code was: text = text.replace('\r\n', '\n').replace('\r', '\n') The fix was: text = String.Replace(text, '\r\n', '\n') text = String.Replace(text, '\r', '\n') All the best, Michael

Re: [IronPython] App stops responding, form won't refresh

2010-05-26 Thread Michael Foord
the best, Michael Foord The project is here - http://cid-0c375b07f1f323b6.skydrive.live.com/self.aspx/.Public/ZipfilesGUI.zip I think I need to add a thread to update the form, but all of my attempts have failed. Any help in this regard would be greatly appreciated. -- http

Re: [IronPython] App stops responding, form won't refresh

2010-05-26 Thread Michael Foord
://www.ironpython.info/index.php/Progress_Bar All the best, Michael Michael Foord-5 wrote: On 26/05/2010 22:40, robinsiebler wrote: This is my 1st IronPython/.NET app. It is really simple, all it does is zip all the files in a folder into an archive, 1 file per zip. The problem is that when

Re: [IronPython] Some More Newbie Questions

2010-05-19 Thread Michael Foord
On 11/05/2010 21:50, Dino Viehland wrote: Matt Funke: In IronPython Tools for Visual Studio 2010, how do you make it clear where the location of a file to be included is? I have this line that trips up the execution: from avalon import * ... even though avalon.py is in the same

Re: [IronPython] Can't install IronPython Tools for Visual Studio

2010-05-02 Thread Michael Foord
On 02/05/2010 13: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 went to the MS site and

[IronPython] Calling explicitly-implemented interface methods

2010-04-30 Thread Michael Foord
with the same name. In that case, the explicitly implemented method is not accessible as an attribute. However, it can still be called by using the unbound class instance method syntax:: rkey = Registry.CurrentUser.OpenSubKey(Software) System.IDisposable.Dispose(rkey) All the best, Michael

Re: [IronPython] Calling explicitly-implemented interface methods

2010-04-30 Thread Michael Foord
On 30/04/2010 23:58, Dino Viehland wrote: Michael wrote: On 30/04/2010 23:32, Dino Viehland wrote: Michael wrote: Hey all, I'm porting the dotnet-integration document that comes with IronPython to Try Python. The following example doesn't work, because RegistryKey isn't

Re: [IronPython] Calling explicitly-implemented interface methods

2010-04-30 Thread Michael Foord
On 30/04/2010 23:58, Dino Viehland wrote: Michael wrote: On 30/04/2010 23:32, Dino Viehland wrote: Michael wrote: Hey all, I'm porting the dotnet-integration document that comes with IronPython to Try Python. The following example doesn't work, because RegistryKey isn't

Re: [IronPython] How to install 3rd part packages into IronPython ?

2010-04-29 Thread Michael Foord
with IronPython is through Ironclad: http://www.resolversystems.com/products/ironclad/ All the best, Michael Foord distutils used to break *after* installing a pure-Python package for IronPython when it attempted to do byte-code compilation. This specific problem is fixed in trunk but I

Re: [IronPython] How to install 3rd part packages into IronPython ?

2010-04-27 Thread Michael Foord
stop the install. All the best, Michael Foord On 27/04/2010 07:19, David Shieh wrote: Hi guys, I don't whether somebody else asked this question, but I am really confused about this. I have already installled IronPython2.6 and add it into my system's path, so I can directly type ipy to start

[IronPython] Try Python updated for IronPython 2.6 Silverlight 4 (sort of)

2010-04-25 Thread Michael Foord
): SystemError at __Setup in wpf.py, line 29 at wpf.py in wpf.py, line 35 at app.py in app.py, line 34 All the best, Michael Foord -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer

[IronPython] Accessing assembly names from Silverlight

2010-04-25 Thread Michael Foord
reflection. This is making it less useful to port the IronPython dotnet integration tutorial to Try Python. :-) Repeated calls throw a slightly different error in the end (still a system error - but a different message). All the best, Michael Foord -- http://www.ironpythoninaction.com/ http

Re: [IronPython] Still stuck on rich editor with IronPython and Silverlight

2010-04-23 Thread Michael Foord
So setting the RuntimeVersion in the Chiron.exe.config to 4.0.50401.0 (and also updating our Silverlight binaries to the standard IronPython 2.6.1 version - which I *thought* I had already done) works! We now have a Silverlight Rich Text Editor working in our app. Still a bit of work to fully

Re: [IronPython] Still stuck on rich editor with IronPython and Silverlight

2010-04-22 Thread Michael Foord
' version specified in the XAP file will fix this - I don't know if that's a XAP being generated by Chiron or if it's something on gestalt.ironpython.net. -Original Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Michael Foord

Re: [IronPython] Still stuck on rich editor with IronPython and Silverlight

2010-04-22 Thread Michael Foord
-- -- Lukáš Michael Foord wrote: Thanks very much - this is great news for us! I'm trying this now. Having to hardcode our AppManifest.xaml is unfortunate as we normally let Chiron generate this for us (whilst developing) - but I guess we could just recompile Chiron. Much appreciated

Re: [IronPython] License change?

2010-04-19 Thread Michael Foord
Personally I think the Microsoft Public License is a pretty good open source license and I'm not sure the confusion of *another* license change is worth it. My $0.02... All the best, Michael On 19/04/2010 23:55, Dino Viehland wrote: Hello IronPython community, As you probably know

Re: [IronPython] License change?

2010-04-19 Thread Michael Foord
On 20/04/2010 00:13, Jeff Hardy wrote: On Mon, Apr 19, 2010 at 3:58 PM, Michael Foord fuzzy...@voidspace.org.uk wrote: Personally I think the Microsoft Public License is a pretty good open source license and I'm not sure the confusion of *another* license change is worth it. My $0.02

Re: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight

2010-04-16 Thread Michael Foord
to open a bug on codeplex to track this? In the meantime I'm writing some C# to instantiate a RichTextBox and return it to us. All the best, Michael Foord The person who started this thread reported not being able to reference the assemblies. Oh, I thought they were trying to add references

[IronPython] Still stuck on rich editor with IronPython and Silverlight

2010-04-16 Thread Michael Foord
= Application.Current.LoadRootVisual(canv, app.xaml) from SilverlightTextEditor import Foo panel = StackPanel() xaml.Children.Add(panel) Foo.Create(panel) (Note that RichTextEditor is a standalone UserControl editor component built on top of the RichTextBox. It works fine from C#.) All the best, Michael Foord -- http

Re: [IronPython] Still stuck on rich editor with IronPython and Silverlight

2010-04-16 Thread Michael Foord
is a standalone UserControl editor component built on top of the RichTextBox. It works fine from C#.) All the best, Michael Foord -- http://www.ironpythoninaction.com/ ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi

Re: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight

2010-04-14 Thread Michael Foord
On 14/04/2010 09:08, Jimmy Schementi wrote: Doesn't look like IronPython4.sln is there, so I stand corrected. Also, doesn't look like the IronRuby repo has the latest sources either; for some reason our external source repos main branches aren't as uptodate as their servicing branches. I'll

Re: [IronPython] is the performance gap between C and CPython a decent comparision between the performance gap between C# and IronPython?

2010-04-14 Thread Michael Foord
characteristics is a premature optimisation. All the best, Michael Foord On 14/04/2010 13:52, Pablo Dalmazzo wrote: Hi there, I was replied in one of my topics in StackOverflow that the gap performance between C with cPython is comparable with the performance gap between with C# with IronPython

Re: [IronPython] IronPython 2.6.1 for .NET 4.0 RC targeting Silverlight

2010-04-14 Thread Michael Foord
this? The person who started this thread reported not being able to reference the assemblies. All the best, Michael Foord ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com -- http

[IronPython] Silverlight 4 and RichTextBox

2010-04-12 Thread Michael Foord
import Application from System.Windows.Controls import Canvas, RichTextBox canvas = Canvas() text = RichTextBox() text.Text = 'Hello World from IronPython' canvas.Children.Add(text) Application.Current.RootVisual = canvas Any ideas? All the best, Michael Foord -- http://www.ironpythoninaction.com

Re: [IronPython] Silverlight 4 and RichTextBox

2010-04-12 Thread Michael Foord
On 12/04/2010 13:33, Michael Foord wrote: Hello all, I'm trying to use the new RichTextBox from Silverlight 4 with IronPython. I have IronPython 2.6.1 RC and Silverlight 4 RC installed (Windows). It fails with a SystemError: Specified method is not supported when instantiating

  1   2   3   4   5   6   7   8   9   10   >