Call Us Today! 877.742.2583

Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: connected is a method not a boolean, fix example that would always evaluate as true


Code Block
#!/usr/bin/env python

''' - subscribe to all events and print them to stdout
import ESL

con = ESL.ESLconnection('localhost', '8021', 'ClueCon')

if con.connected():'plain', 'all')
    while 1:
        e = con.recvEvent()
        if e:
            print e.serialize()