0

I have a Sensor that is connected to my ubuntu laptop. There is a small programm that plots the sensor values in a terminal in real-time.

I wanna read out these values and plot them in a smooth graph with python. Is this possible? Even with python3?

I tried the subprocess command like here. But it does not work.

Community
  • 1
  • 1
user47091
  • 523
  • 2
  • 6
  • 16
  • `for line in proc.stdout:print(line)` – Padraic Cunningham Jun 08 '15 at 09:28
  • *" it does not work."* is not very informative. Start with [this answer](http://stackoverflow.com/a/17698359/4279) and [provide a minimal but complete code example that shows the error](http://stackoverflow.com/help/mcve). – jfs Jun 08 '15 at 19:40

0 Answers0