Home  >  Support  >  Support Forum  >  Has anybody imported simplejson or json modules for use on the connectportx4 (Python version 2.4.3)?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Has anybody imported simplejson or json modules for use on the connectportx4 (Python version 2.4.3)?

0 votes
asked Sep 23, 2013 in Python by Tom_123456 New to the Community (1 point)
recategorized Sep 23, 2013 by Tom_123456

Please log in or register to answer this question.

1 Answer

0 votes
Yes, we run simplejson on X4s, but it took a bit of hacking to make it work on such old Python.

I had to replace conditional operators (x = A if z else B ) in encoder.py and probably add lots of dependencies from the Python 2.3.4 libraries.
answered Oct 8, 2013 by tomcat-engineering New to the Community (1 point)
Contact a Digi expert and get started today! CONTACT US
...