I understand that Digi’s Python interpreter for the ConnectPort X2/X4 is still 2.4.x Correct?
And the libraries I see are dated 2008 in a zip file. Aren’t there newer ones?
The ftplib.py that’s on the python.org site depends on Python 2.6 and later.
Any way to find/use an ftplib.py that’s compatible with Python 2.4?
Apologies for the dumb newbie questions. I have been able to get a 1200 lines of code Python program doing high message rate XBee S1 messaging to run well.
But I’ll be darned if I can find on the website, info on how to download Python interpreter and library updates from Digi. It’s likely there, but the needle in the haystack so far evades me.
Have you tried the Digi ESP for Python? It is a Python development environment specially designed for the Digi products (such as the Connectport X2, X4, etc.).
When building a project it automatically zips all the Python modules needed by your project but that are not present in the remote device and uploads the zip to the ConnectPort. When you execute the project in the device, all the modules contained in the zip are added to the Python sources path of the ConnectPort, so your application is able to use them.
This IDE can save you a lot of time. If you are interested you can download it from here: