I was already thinking about using something like
for line in sys.stdin:
# do stuff
but I think that's blocking. Would there be an easy implementation to just run a function to get a line from stdin without stopping all asyncronous operations?