harmsm / PyCmdMessenger

Python interface for CmdMessenger arduino serial communication library
MIT License
80 stars 32 forks source link

Port to Python 2.7 #18

Closed zlite closed 7 years ago

zlite commented 7 years ago

Minor changes to allow this to run under Python 2.7

harmsm commented 7 years ago

Thanks for your interest in the library, and sorry for my slow reply.

Unfortunately, the changes break the ability to pass manual formatting--in particular the handy * format in the 0.2.4 release. (The arg_formats argument to the send and receive methods are required for this functionality). I'd rather not break functionality to support a deprecated python version.

That said, it's quite helpful that you identified the python2.7 hang ups. I've added a link to your fork in the README for anyone who wants to use the library with Python 2.7. Thanks for your help!