Python program to create virtual data in serial port