Phil Dibowitz wrote: > Stephen Warren wrote: >> Phil Dibowitz wrote: >>> Stephen Warren wrote: >>>> Version 6 of congruity is released. >>>> >>>> congruity is a Python/wxPython-based GUI for libconcord. It is intended >>>> to handle downloads from the Harmony website, program the remote, and >>>> communicate results back to the website - i.e. provide an open-source >>>> replacement for the website interaction portion of the existing >>>> proprietary GUI application. >>> I'm getting a syntax error - though I have made no attempt to debug it: >>> >>> [EMAIL PROTECTED] congruity-6]$ congruity >>> File "/usr/bin/congruity", line 58 >>> finally: >>> ^ >>> SyntaxError: invalid syntax >> Try the attached congruity script. I may have been relying on Python 2.5 >> syntax (I guess I should test with an older Python version sometime...) > > No sir: > > Traceback (most recent call last): > File "/usr/bin/congruity", line 6, in ? > from ctypes import * > ImportError: No module named ctypes
Yes, ctypes became part of core Python in 2.5. However, many distros package the ctypes module as part of their Python installation (or as an add-on) in older versions of Python too. For example, I think Fedora has had it for many releases (I did check some time, and convinced myself it'd been available for a while, but I forget how far back). I think you can get it here: http://sourceforge.net/projects/ctypes/ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel