test python code