Added serial example for python