Jan-04-2018, 02:18 PM
I want to start programming with the module curses in Python on my
Raspberry pi3(with rasbian), But I already ran into a problem.
I wrote my first 2 lines of code in IDLE3 and executed them:
but it would be just way to much work if I want to test some code every 10 seconds and I have no Idea how to even do that.
If there is no other way, i'll do it with the linux terminal, if someone could
explain it to me (please :) ).
Raspberry pi3(with rasbian), But I already ran into a problem.
I wrote my first 2 lines of code in IDLE3 and executed them:
import curses stdscr = curses.initscreenbut I got this output:
Output:Traceback (most recent call last):
File "/home/pi/Desktop/programms/Tools/curse.py", line 3, in <module>
curses.initscr()
File "/usr/lib/python3.5/curses/__init__.py", line 30, in initscr
fd=_sys.__stdout__.fileno())
_curses.error: setupterm: could not find terminal
I already know that there is the way to execute it in the linux terminal,but it would be just way to much work if I want to test some code every 10 seconds and I have no Idea how to even do that.
If there is no other way, i'll do it with the linux terminal, if someone could
explain it to me (please :) ).