The Pythonic way to write ReaScript