print "-------------------\r"
produces a musical note instead doing the carriage return. Why?
Thanks in advance for reply.
EDIT: I was using it in this code in order to change dinamically data by 'print' instead to re-print it all:
import math
import time
while True:
reading = read_world_2c(0x43) #it's a function for reading data from a sensor
print "data: \r", reading
time.sleep(0.5)