Interfacing with python - problem for writing and reading on serial port

Not 100% sure, but the magic may come from the time.sleep(2) command

See : Arduino Playground - HomePage