A new version of Houdini expr editor is now available. This includes a new feature: Windows => External python source editor, which allows you to edit session’s python source code with your external editor.
The code will be available as normal code edited with the regular Python source editor, using hou.session.my_code.