update python demo for g2h

Signed-off-by: Stephano Cetola <scetola@reachtech.com>