embedded py in client