[python] add prefix expressions