Python blocks