On Wednesday, June 12, 2013 5:10:05 PM UTC+1, rusi wrote:
> On Jun 12, 6:29 pm, jacopo wrote:
>
> > > 1. How you run -- 'launch' -- the code -- from py and from prod
>
> >
>
> > when I have to test I use "python any_script.py" but in produc
> 1. How you run -- 'launch' -- the code -- from py and from prod
when I have to test I use "python any_script.py" but in production there is a
c++ program that is able to wrap and run python code (the technical details are
a bit beyond my knowledge)
> 2. What error you get
when I run as "pyt
, 2013 6:14:43 PM UTC+1, rusi wrote:
> On Jun 11, 9:28 pm, jacopo wrote:
>
> > I am developing my code in the path:
>
> > /py/myscripts
>
> > /py/mylib
>
> > In order to "import mylib", I need to add /py/mylib to PYTHONPATH.
>
> >
>
:14:43 PM UTC+1, rusi wrote:
> On Jun 11, 9:28 pm, jacopo wrote:
>
> > I am developing my code in the path:
>
> > /py/myscripts
>
> > /py/mylib
>
> > In order to "import mylib", I need to add /py/mylib to PYTHONPATH.
>
> >
>
I execute /prod/myscripts/any_script.py, every
"import" will look at PYTHONPATH and therefore it will load the modules from
/py/mylib. On the contrary I want to load it from /prod/mylib.
Is there an elegant way to cope with this?
thanks, Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
already handled by the Messaging system and I don’t need to take care
of it in my components (they keep waiting for a message, when they get
it they are fully engaged in processing and they cannot do much more).
Thanks,
Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
technologies. I wonder if they target different problems (it doesn’t
look to me).
Is anyone able to sketch advantages of one solution against the other?
Thanks,
Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
processing to different severs and collect and process results from a
client as soon as they are ready. To achieve true parallelism it looks more
complex than expected.
Many thank,
Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
soon as ready and therefore
parallelize things?
thanks, Jacopo
SERVER:
fibo=Fibonacci()
fact=pb.PBServerFactory(fibo)
reactor.listenTCP(port, fact)
reactor.run()
CLIENT:
fact=pb.PBClientFactory()
reactor.connectTCP(host, port, fact)
d=fact.getRootObject()
n1=1
d.addCallback(lambda obj
engaged in a 5 minutes processing other arriving
requests of callRemote() are queued and Deferreds are returned
immediately. So the reactor is responding somehow.
Isn’t it?!
On the Server I am using: reactor.listenTCP(port, pb.PBServerFactory
(MyClass()))
Could you suggest me any doc to better understand?
Thanks, Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
accepting new connections
(or
what have you) for the duration of their execution.” ?!
Don’t we have (c) and (e) running at the same time here? How is it
possible to have only one Thread?
Thanks,
Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
time being I recommend this doc which has been the most useful
to me so far.
http://www.artima.com/weblogs/viewpost.jsp?thread=230001
Thanks, Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
clearest i have read so far.
http://www.artima.com/weblogs/viewpost.jsp?thread=230001
Grazie,
Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
ed this in a mock example it
seems to work. Clean and simple!
Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
and
display the content in a web page?!
Is there a reason to link objects to different URLs or I could link
many of them to the same URL?
Thanks, Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
ops, objects are still in
memory and I could inspect all I want. BUT I don’t want to stop the
system. So even the shell would be blocked to type something.
Thanks,
Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
suggestion.
Regads,
Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
suggestion.
Regads,
Jacopo
--
http://mail.python.org/mailman/listinfo/python-list
thank you Diez,
unfortunatelly I am on Windows NT.
Did you use SSH in a python script?
Isn't multiprocessing.managers already doing something like Pyro?
thanks
Jacopo
On Aug 31, 12:47 pm, "Diez B. Roggisch" wrote:
> jacopo wrote:
> > I am playing with multiprocessing
newsgroup with questions... yet :)
Regards, Jacopo
On Aug 26, 4:22 am, Terry wrote:
> Hi,
>
> I'm using the multiprocessing.manager to run proceduresremotely. It
> all worked fine except I hope to have a different return value type.
>
> The remote function calls always return a prox
you have any suggestion?
regards, jacopo
--
http://mail.python.org/mailman/listinfo/python-list
Gabriel Genellina wrote:
> En Mon, 27 Jul 2009 16:35:51 -0300, jacopo mondi
> escribió:
>
>> Is there a reason why there is no ioctl interface for socket either then
>> for windows platform? It's technical issues or what else??
>
> I don't completely unde
Is there a reason why there is no ioctl interface for socket either then
for windows platform? It's technical issues or what else??
thank in advance
jacopo
--
http://mail.python.org/mailman/listinfo/python-list
Scott David Daniels wrote:
> jacopo mondi wrote:
>> Roger Binns wrote:
>>> jacopo mondi wrote:
>>>> Hi all, I need to patch socketmodule.c (the _socket module) in order to
>>>> add support to an experimental socket family.
>>> You may find it cons
Roger Binns wrote:
> jacopo mondi wrote:
>> Hi all, I need to patch socketmodule.c (the _socket module) in order to
>> add support to an experimental socket family.
>
> You may find it considerably easier to use ctypes since that will avoid
> the need for any patching.
Roger Binns wrote:
> jacopo mondi wrote:
>> Hi all, I need to patch socketmodule.c (the _socket module) in order to
>> add support to an experimental socket family.
>
> You may find it considerably easier to use ctypes since that will avoid
> the need for any patching.
module? I could not use distutils, have I to distribuite
the already built .so with only a script to install it, and the source
code in another directory?
Thanks a lot
jacopo
PS correct my english please, is the only way I have to improve it!
--
http://mail.python.org/mailman/listinfo/python-list
27 matches
Mail list logo