Hi Markus,
Thanks for your answer. I already know that and I have started to develop my
solution based on threading module. But, there is always a but, I'm working
with WebBrowser and I want to run multi concurrent instances and each
instance must have its own session. Unfortunately to get a sessio
Hi, Romain,
Romain Gilles wrote:
> from multiprocessing import Process
A small remark:
The main usage of the multiprocessing module is to work around the global
interpreter lock (GIL) in cPython.
As IronPython does not have that GIL, maybe you can create a scalable
application just fine witho
Thanks Jeff for the information.
I will be really please to help you but I'm a dummy in C#, C++, Python and
Windows :(
Romain.
2011/3/23 Jeff Hardy
> On Wed, Mar 23, 2011 at 7:19 AM, Romain Gilles
> wrote:
> > but who can I add to my IronPython the _multiprocessing module ?
> > --
On Wed, Mar 23, 2011 at 7:19 AM, Romain Gilles wrote:
> but who can I add to my IronPython the _multiprocessing module ?
> --
> c:\temp>ipy test-ipy-multiprocessing.py
> Traceback (most recent call last):
> File "test-ipy-multiproc
Ok,
I have patched the corresponding line:
19a20
> from System.Text import UTF8Encoding
283c284,288
< self._authkey = AuthenticationString(os.urandom(32))
---
> bytes = os.urandom(32)
> encoding=UTF8Encoding()
> if isinstance(bytes, str):
> bytes = encod
If it is a 'C' based extension then it won't directly work with IronPython.
Maybe someone has a workaround / alternative?
Cheers,
Davy
On 23 March 2011 10:23, Romain Gilles wrote:
> Hi,
> First of all thanks for your answer :). But after updated
> my IRONPYTHONPATH as follow:
> set IRONPYTHONPA
Hi,
First of all thanks for your answer :). But after updated my *IRONPYTHONPATH
* as follow:
set IRONPYTHONPATH=c:\Python27\Lib
I get this error:
-
c:\temp>ipy test-ipy-multiprocessing.py
Traceback (most recent call last):
File "test-ipy-multiprocessing.py
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
> Hi all,
> I'm trying to use this featur