multiprocessing and threads

2009-12-27 Thread Deepak Rokade
Are there any special guidelines for using multiprocessing package and threads in python program. I am designing a application that works with database and files. In my program I was spawning some threads and then some process pools. Only my main process use the threads and my child processes

Multiprocessing module

2009-04-10 Thread Deepak Rokade
ards, Deepak Rokade -- http://mail.python.org/mailman/listinfo/python-list

Re: Unable to compile pyprocessing module on SUN solaris

2009-03-26 Thread Deepak Rokade
t;, line 18, in import itertools ImportError: No module named itertools >>> >>> ^D I think we should have these flags seperate for "SunOs" currently. bash-2.03$ bash-2.03$ python2.6 -c "import sys; print sys.platform" sunos5 bash-2.03$ On Sat, M

Re: Unable to compile pyprocessing module on SUN solaris

2009-03-20 Thread Deepak Rokade
environment. On Fri, Mar 20, 2009 at 7:28 PM, Christian Heimes wrote: > Deepak Rokade wrote: > > This did not wok. > > I continued to get those warning and Import Error. > > > > I wanr through documentation of multiprocessing and it looks almost > similar > > to proc

Re: Unable to compile pyprocessing module on SUN solaris

2009-03-20 Thread Deepak Rokade
This did not wok. I continued to get those warning and Import Error. I wanr through documentation of multiprocessing and it looks almost similar to processing module. Any advantages of multiprocessing module ? On Fri, Mar 20, 2009 at 6:53 PM, Christian Heimes wrote: > Deepak Rokade wr

Unable to compile pyprocessing module on SUN solaris

2009-03-20 Thread Deepak Rokade
ol CMSG_SPACE: referenced symbol not found >>> ^D How can I get rid of this ? Is this package not available for sun solaris ? -- Thanx & Regards, Deepak Rokade -- http://mail.python.org/mailman/listinfo/python-list

Re: listing files by modification time

2009-02-17 Thread Deepak Rokade
sent earlier or like below. find / -mtime +5 -type f -exec ls -l {} \; Otherwise can I limit the number of files in a list returned by os.listdir() ? On Tue, Feb 17, 2009 at 6:06 PM, Chris Rebert wrote: > On Tue, Feb 17, 2009 at 4:31 AM, Deepak Rokade > wrote: > > Hi, > &

listing files by modification time

2009-02-17 Thread Deepak Rokade
& Regards, Deepak Rokade Do what u Enjoy & Enjoy what u Do... -- http://mail.python.org/mailman/listinfo/python-list

Re: Using threads in python is safe ?

2008-03-19 Thread Deepak Rokade
on, Mar 17, 2008 at 7:00 AM, Benjamin <[EMAIL PROTECTED]> wrote: > On Mar 16, 3:40 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> > wrote: > > En Sat, 15 Mar 2008 11:57:44 -0200, Deepak Rokade <[EMAIL PROTECTED]> > > escribi�: > > > > > I w

Using threads in python is safe ?

2008-03-15 Thread Deepak Rokade
d are because I am confused with GIL funda. -- Thanx & Regards, Deepak Rokade Do what u Enjoy & Enjoy what u Do... -- http://mail.python.org/mailman/listinfo/python-list