Re: [IronPython] multiprocessing in 2.7

2011-03-23 Thread Oleksii Bidiuk
Hi Romain,

AFAIK you have to download the Python standard library separately. See e.g.
http://www.ironpython.info/index.php/Using_the_Python_Standard_Library for
examples (I've done it a while ago, so had to Google around a bit).

2011/3/23 Romain Gilles romain.gil...@gmail.com

 Hi all,
 I'm trying to use this feature in ironpython. I just follow the first
 sample:
 
 from multiprocessing import Process

 def f(name):
 print 'hello', name

 if __name__ == '__main__':
 p = Process(target=f, args=('bob',))
 p.start()
 p.join()
 
 But I get the following error when I'm executing it:
 
 c:\tempipy test-ipy-multiprocessing.py
 Traceback (most recent call last):
   File test-ipy-multiprocessing.py, line 1, in module
 ImportError: No module named multiprocessing
 

 Thanks for any help.

 Regards.

 Romain.

 PS: I have just installed the last release of IronPython 2.7
 
 c:\tempipy -V
 PythonContext 2.7.0.40 on .NET 4.0.30319.1
 

 ___
 Users mailing list
 Users@lists.ironpython.com
 http://lists.ironpython.com/listinfo.cgi/users-ironpython.com




-- 
oleksii
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] SciPy

2010-12-20 Thread Oleksii Bidiuk
Hi All,

I am not intended to add oil to the fire, but I am curious whether somebody
can comment on the statement of Mark

 Our company uses C#.  I quickly discovered that C# and Python don’t play
well together ….

I have a similar situation, meaning C# application that needs to be a)
scriptable b) usable for image/data processing using e.g. NumPy and SciPy.
While IronPython seems to be the 'easy bet', I wonder if it is also a 'safe
bet' for the long term future and whether there are tangible alternatives
like e.g. PythonNET (I hope there are others, preferrably backed up by some
heavyweight/commercial players).

Can anyone comment on this one? Anybody is using or going to use IronPython
in commercial apps?

Thanks in advance.



-- 
Oleksii
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com