import serial
#ser = serial.Serial('/dev/ttyUSB0', 38400)
#ser = serial.Serial('/dev/ttyUSB0', 9600)

# = lacrosse as well
ser = serial.Serial('/dev/ttyUSB0', 57600)
while True:
         print ser.readline()
import serial, time
#import tkinter
import os

def serialcmdw():
    os.system('clear')
    serialcmd = input("serial command: ")
    ser.write (serialcmd)

serialcmdw()

ser = serial.Serial()
os.system('clear')
ser.port = "/dev/ttyUSB0"
ser.baudrate = 9600
ser.open()
time.sleep(1)
serialcmdw()