[mod_python3, ESL py3mod] Add Python3 support.

This commit is contained in:
Andrey Volk
2021-09-26 13:23:46 +03:00
parent 3a66eb415f
commit e44fd2ea38
35 changed files with 20248 additions and 13 deletions

View File

@@ -0,0 +1,20 @@
#!/usr/bin/env python
import string
import sys
from ESL import *
con = ESLconnection("localhost","8021","ClueCon")
#are we connected?
if con.connected:
con.events("plain", "all");
while 1:
#my $e = $con->recvEventTimed(100);
e = con.recvEvent()
if e:
print e.serialize()