open pymode