Re: [Ironpython-users] [Newbee] - Ironpython and .Net - Problem of encoding accented characters

2013-01-03 Thread Peter Schwalm
Hello bruno, I dont't expect that to be a solution, but I see a little problem in your code for loading the word doc. You write: /for n in xrange(1, self.nbrMots):/ ... If /self.lesMots.Item(...) is indexed starting with 1 (I don't if that is true), you will miss the last word, if is i

[Ironpython-users] [Newbee] - Ironpython and .Net - Problem of encoding accented characters

2013-01-03 Thread bruno gallart
Hi, First, I wish you a Good Year and a Good Health. For me I begin the year with a little stupid encoding's problem : I am doing a spellchecker with the Hunspell ' library for .Net -- > Nhunspell for a language of south of Europe with many accented characters. The spellchecker works fine wit

[Ironpython-users] ipy.exe hangs after closing IronPython WFP application

2013-01-03 Thread Jackie Sproat
Here is the IronPython code I use to start and stop my app: Perhaps the ShutdownMode has something to do with ipy.exe hanging (which seems to suggest app is not shutting down properly!)? def Run_App_Threaded(): global evt evt = AutoResetEvent(False) print "initializing...

Re: [Ironpython-users] Calling Python script from windows form

2013-01-03 Thread Slide
This might help, its an article I wrote with some example code. http://earl-of-code.com/2012/02/testing-with-ironpython/ Thanks, slide On Thu, Jan 3, 2013 at 3:32 AM, Shaikh, Raheel wrote: > ** > I'm an IronPython novice and would like some help. I have a windows form > that I have created

[Ironpython-users] Calling Python script from windows form

2013-01-03 Thread Shaikh, Raheel
I'm an IronPython novice and would like some help. I have a windows form that I have created in Visual Basic 2010 Express, which contains two text-boxes ('txtNumber' and 'txtResult') and a button ('btnSquare'). What I want to do is be able to call the below Python script ('Square.py') on click

Re: [Ironpython-users] ironpython and windows services

2013-01-03 Thread Peter Schwalm
Thank you for your help! Peter ___ Ironpython-users mailing list [email protected] http://mail.python.org/mailman/listinfo/ironpython-users

Re: [Ironpython-users] ironpython and windows services

2013-01-03 Thread Curt Hagenlocher
When you add a reference to something in the GAC, don't add ".dll" to the name. That is, clr.AddReference('System.ServiceProcess') On Thu, Jan 3, 2013 at 6:34 AM, Peter Schwalm wrote: > Hello, > I am trying to convert an Ironpython filewatcher program into a windows > service. I started by tra

[Ironpython-users] ironpython and windows services

2013-01-03 Thread Peter Schwalm
Hello, I am trying to convert an Ironpython filewatcher program into a windows service. I started by translating a c# example to ipy. I tried to simply use System.ServiceProcess.ServiceBased, and received a message "AttributeError: attribute 'ServiceProcess' of 'namespace#' object is read-onl

Re: [Ironpython-users] Functools in IronPython 2.0

2013-01-03 Thread Slide
Did you copy the std lib over? Why are you stuck with 2.0? It is a very old version. On Thu, Jan 3, 2013 at 6:29 AM, Pablo Dalmazzo wrote: > Hi there, > > is it possible to use functools in IronPython 2.0? Im trying to import it > and I get "no module named functools" but in this reference to

[Ironpython-users] Functools in IronPython 2.0

2013-01-03 Thread Pablo Dalmazzo
Hi there, is it possible to use functools in IronPython 2.0? Im trying to import it and I get "no module named functools" but in this reference to IronPython 2.0 mentions it http://www.ironpythoninaction.com/magic-methods.html#id18 Any way to have it availabe in IP 2.0 without having to mov