pyHook and time libraries

2012-11-29 Thread Doron
Hey, I'm tring to create a software that records the keyboard/mouse and sends email of the log every predetermined period. I've manage to make the recorder and the auto-email sender, but I still can't make both of them work simultaneously. Can someone help me with this please? I thought about t

Swig for Python 2.6

2008-12-14 Thread Doron Tal
p.c: In function 'swig_varlink_type': linux-python/log_wrap.c:3334: warning: missing initializer linux-python/log_wrap.c:3334: warning: (near initialization for 'tmp.tp_version_tag') What swig version should I use? If version 1.3.36 is good enough, then what can be my mistake? Thanks, doron -- http://mail.python.org/mailman/listinfo/python-list

execfile (exec?) create non consistent locals() state

2009-04-21 Thread Doron Tal
x27;: 2} Traceback (most recent call last): File "", line 1, in ? File "", line 4, in execfile_func NameError: global name 'a' is not defined >>> """ After execfile, the a variable can be found in locals(), however any direct reference (e.g., print a) fails. Is it expected? Thanks, Doron -- http://mail.python.org/mailman/listinfo/python-list

Re: execfile (exec?) create non consistent locals() state

2009-04-21 Thread Doron Tal
On Tue, Apr 21, 2009 at 9:13 PM, Chris Rebert wrote: > On Tue, Apr 21, 2009 at 9:08 AM, Doron Tal > wrote: > > Hi, > > > > Recently I tried to execute a python file using execfile (exec performed > > just the same for that reason). > > I encountered the b

GIL state during import

2010-02-16 Thread Doron Tal
Is the GIL released during import statement execution when accessing the file? If not, is it a bug? If it is not a bug, or it is here to stay for any other reason, I think it should be mentioned in the documentation. --doron -- http://mail.python.org/mailman/listinfo/python-list

Re: GIL state during import

2010-02-17 Thread Doron Tal
On Wed, Feb 17, 2010 at 1:01 AM, Terry Reedy wrote: > On 2/16/2010 4:37 PM, Doron Tal wrote: > >> Is the GIL released during import statement execution when accessing the >> file? >> If not, is it a bug? >> If it is not a bug, or it is here to stay for any other r

Re: GIL state during import

2010-02-17 Thread Doron Tal
On Wed, Feb 17, 2010 at 11:59 AM, Dave Angel wrote: > Terry Reedy wrote: > > On 2/16/2010 >> 4:37 PM, Doron Tal wrote: >> >>> Is the GIL released during import statement execution when accessing the >>> file? >>> If not, is it a bug? >>>

Re: file transfer in python

2009-06-26 Thread Doron Tal
ome books on this topic or any online help then plz help. > -- > http://mail.python.org/mailman/listinfo/python-list > You can try the xmlrpclib: http://docs.python.org/library/xmlrpclib.html#binary-objects --doron -- http://mail.python.org/mailman/listinfo/python-list

Re: Gracefully exiting CLI application

2009-07-27 Thread Doron Tal
d just acquired a lock. --doron -- http://mail.python.org/mailman/listinfo/python-list

inspect.stack() performance

2009-08-06 Thread Doron Tal
9297218322754] >>> About 280uSec per call. If I log 1000 times per seconds than I get to spend 28% of the process time on inspect.stack() Is there a better/quicker way of retrieving the same info? Thanks, --doron -- http://mail.python.org/mailman/listinfo/python-list

Re: Most "active" coroutine library project?

2009-08-23 Thread Doron Tal
ere any others I've missed? And what would the > consensus be on the which has the most active community behind it? > -- > http://mail.python.org/mailman/listinfo/python-list > If you seek also event-driven libraries: Twisted - http://twistedmatrix.com/trac/ --doron -- http://mail.python.org/mailman/listinfo/python-list