Xbee Receiving data on Serial Port of Raspberry Pi

I am trying to send a data from a xbee router on my windows pc (via x ctu) to a xbee co-ordinator on my Rasberry Pi. But when I am reading the data packet through the python code, I am not able to get the entire packet properly.

Following is the Python code and data packet that I am sending.

Data Packet: 7E001010010013A20040E8B53AF0BB0000303116

Python Code:

import time
import serial
import sys

def b_u(st):
if len(st) == 1:
return ord(st)
else:
length = len(st)
sft = 8*(length-1)
return (b_u(st[0])<