Updates to enviironment variables and ctypes

2009-05-12 Thread Scott Flynn
I was hoping I could update LD_LIBRARY_PATH at runtime and load a library through ctypes from there, but I haven't been able to. I've tried all of these. os.environ['LD_LIBRARY_PATH'] = "./lib" os.putenv('LD_LIBRARY_PATH', "./lib") os.system("export LD_LIBRARY_PATH=./lib") lib = CDLL("libevaluato

Re: CrystalFontz 635 project

2009-04-15 Thread Scott Flynn
I think I found the answer to the last question. "A primitive lock is a synchronization primitive that is not owned by a particular thread when locked." -17.2.2. Lock Objects So that's a no. On Wed, Apr 15, 2009 at 8:55 PM, Scott Flynn wrote: > > I'm finally around to

CrystalFontz 635 project

2009-04-15 Thread Scott Flynn
I'm finally around to playing around with my LCD module. I chose Linux for OS, pygtk for the GUI, a CF635 Python library written by Thomas Cauley (found on CF website) for a starting point in sending commands to the LCD, and gobject.io_add_watch for listening for packets coming from the LCD. It bec