Re: any issues with long running python apps?

2010-07-16 Thread Les Schaffer
Stefan Behnel wrote: Les Schaffer, 16.07.2010 15:07: agree with all the other suggestions: multiple threads for data and GUI, The way I read it, the suggestion was to use separate processes, not multiple threads. That's a pretty important difference. check. processes, not threads.

Re: any issues with long running python apps?

2010-07-16 Thread Les Schaffer
thanks to all for the replies. the Windows memory fragmentation was one of the "i didn't know that" items. we will use 64-bit Windows OS if the job happens. agree with all the other suggestions: multiple threads for data and GUI, etc. Also, might push for Linux even though the company is Wind

any issues with long running python apps?

2010-07-09 Thread Les Schaffer
i have been asked to guarantee that a proposed Python application will run continuously under MS Windows for two months time. And i am looking to know what i don't know. The app would read instrument data from a serial port, store the data in file, and display in matplotlib. typical sampling

Re: Reading data from a Microsoft Access 2003 database

2010-05-19 Thread Les Schaffer
Adam Tauno Williams wrote: The OP: "I use Ubuntu 64 bit" woops, my bad ... -- http://mail.python.org/mailman/listinfo/python-list

Re: Reading data from a Microsoft Access 2003 database

2010-05-19 Thread Les Schaffer
Jimoid wrote: I use Ubuntu 64 bit and need to develop a programme (ideally in Python) to work on data that is contained in a Microsoft Access 2003 database. I do not need to modify the database, simply read a few columns of data from some tables. this worked like a charm for me: http://code.a

Re: GC and security

2006-08-31 Thread Les Schaffer
and security, we might be able to manage a small consulting gig. but if its not python-relevant, lets talk offlist. in any case, many thanks. Les Schaffer -- http://mail.python.org/mailman/listinfo/python-list

Re: GC and security

2006-08-31 Thread Les Schaffer
process scheme. if so, this is good enough for now. think we'll use this for the mysql password too. > the secret text will be visible in memory during the subprocess call, > but it won't linger around once the for-loop has finished. good enough for current rock and roll. >

Re: GC and security

2006-08-31 Thread Les Schaffer
; buggy C code referencing freed memory. i liked the other Tim's suggestion of a secure string ;-) Les Schaffer -- http://mail.python.org/mailman/listinfo/python-list

Re: GC and security

2006-08-31 Thread Les Schaffer
ies a digital signature, and also encrypted identifying information for the user. Les Schaffer -- http://mail.python.org/mailman/listinfo/python-list

Re: GC and security

2006-08-30 Thread Les Schaffer
me there is some probability of being overwritten, no? and i am curious how that works. it sounds like you are saying once a string, always the same string, in python. if thats true, i am glad i know that. Les Schaffer -- http://mail.python.org/mailman/listinfo/python-list

Re: GC and security

2006-08-30 Thread Les Schaffer
xceed the OMB's latest on laptop security: http://www.whitehouse.gov/omb/memoranda/fy2006/m06-16.pdf i don't see a mention of swap files on there, but maybe i missed it. and the OMB doc exceeds the security level required by the client app. les schaffer -- http://mail.python.org/mailman/listinfo/python-list

GC and security

2006-08-30 Thread Les Schaffer
passphrase string(s), eventually it gets garbage collected and the memory recycled. so "before long" the phrase is gone from memory. is there a best practice way to do this? thanks Les Schaffer -- http://mail.python.org/mailman/listinfo/python-list

Re: GPG.py adapted to use subprocess, for Windows?

2006-07-06 Thread Les Schaffer
Les Schaffer wrote: > errr, THIS GPG module: http://www.historical-id.info/files/python/GPG.py sigh, actually its updated version: http://trac.t7a.org/isconf/browser/trunk/lib/python/isconf/GPG.py looks like i can use the subprocess module straight instead of the PopenHI, except for

Re: GPG.py adapted to use subprocess, for Windows?

2006-07-06 Thread Les Schaffer
Les Schaffer wrote: > Does anyone know if the GPG.py module errr, THIS GPG module: http://www.historical-id.info/files/python/GPG.py Les -- http://mail.python.org/mailman/listinfo/python-list

GPG.py adapted to use subprocess, for Windows?

2006-07-06 Thread Les Schaffer
ask here first. Thanks Les Schaffer -- http://mail.python.org/mailman/listinfo/python-list