I'm currently building an application in my Raspberry Pi. This application have to use I2C bus along serial port. Previously I developed both applications independent between them; for I2C app, I used a python3 module for handling the bus. But for handling serial port I use a python 2 module.
Now I want to build an app that handle the two interfaces. Is this possible? How should I do it?
Thanks.
Search for backports or try to split it up into different processes.
Is it possible to have an application using python 2 and python 3 modules?