The solution was logging in /dev/ and seeing what's listed there and probably u'll find a directory called serial The code for this
ls /dev/serial/by-id/
and replace the name of the device by ttyAM0 for me it become
serial.Serial("/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0", baudrate=115200, timeout=3.0)