Python un-plugging the Interpreter

2007-04-19 Thread S.Mohideen
Hi All, I was thinking about the feasbility of adjusting Python as a compiled language. Being said that I feel these are the following advantages of doing so -- 1) Using the powerful easy-to -use feature of Python programming language constructs. 2) Making the program to run at par wi

Python Threads -

2007-04-18 Thread S.Mohideen
Hi All, Can you please suggest a technique in Python where we can spawn few number of worker threads and later map them to a function/s to execute individual Jobs. Any references would be helpful.. Thanks Moin -- http://mail.python.org/mailman/listinfo/python-list

newbie question

2007-02-25 Thread S.Mohideen
>>> asd={} >>> asd={1:2,3:4,4:5} >>> print asd {1: 2, 3: 4, 4: 5} >>> asd.has_key(3) True >>> asd.update() >>> print asd {1: 2, 3: 4, 4: 5} >>> what does asd.update() signifies. What is the use of it. Any comments would help to understand it. Thanks Mohideen -- http://mail.python.org/mailman

Re: multithreading concept

2007-02-09 Thread S.Mohideen
I am sorry if I sound foolish. Suppose I split my Net application code using parallel python into several processes based upon the number of CPU available. That means a single socket descriptor is distributed across all processes. Is parallelity can be acheived using the processes send/recv on t

Re: multithreading concept

2007-02-07 Thread S.Mohideen
I would like to add my problem in this thread. I have a network application in Python which sends and recv using a single socket. There is a dictionary on which I store/read data values. I want to seperate the send and recv functionality on two different processes so that the parallel execution

multithreading concept

2007-02-06 Thread S.Mohideen
Hi Folks, Python is praised about - me too. But at one instance it fails. It fails to behave as a true multi-threaded application. That means utilizing all the CPUs parallely in the SMP efficiently stays as a dream for a Python Programmer. Discussion threads say its due to GIL - global interprete

Threading in Python

2007-02-06 Thread S.Mohideen
Python is praised about - me too. But at one instance it fails. It fails to behave as a true multi-threaded application. That means utilizing all the CPUs parallely in the SMP efficiently stays as a dream for a Python Programmer. Discussion threads say its due to GIL - global interpreter lock.

POSH Query

2007-01-16 Thread S.Mohideen
, bypassing the GIL effect. Is anybody tried the POSH - does it really increases the performance ?? How good or bad is to have the POSH module imported into ones Python code. Please share your experience, if any, about POSH. Cheers Moin -- S.Mohideen <[EMAIL PROTECTED]> -- http://mail.pyth

POSH

2007-01-16 Thread S.Mohideen
, bypassing the GIL effect. Is anybody tried the POSH - does it really increases the performance ?? How good or bad is to have the POSH module imported into ones Python code. Please share your experience, if any, about POSH. Cheers Moin -- S.Mohideen <[EMAIL PROTECTED]> -- http://mail.pyth