python code for qzone