Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1261

Python • Using multiple languages/venv in a script

$
0
0
I am relatively new to programming but have encountered a problem when it comes to using multiple libraries (Adafruit and rpi) I am programming on a raspberry pi 5 and have 2 programs that work great, one reading outputs of a sensor using Adafruit in a virtual environment and then a second controlling motors using rpi. I am wondering if there any way to run the first program, and then use the output as an input in the second program but I am having difficulty because it uses two different libraries and a virtual enviorment.

Statistics: Posted by Josheckert — Sun Jan 12, 2025 9:31 pm



Viewing all articles
Browse latest Browse all 1261

Trending Articles