> It's not possible to write Python scripts in Editorial's editor.
It is now.
It seemed like an interesting problem so I created two workflows: Save as Python... and Edit Python... to assist in the creation and editing of Python files that you can import your own Python scripts into your Editorial workflows.
Save as Python...
writes the contents of the Editor into a Python file.
reads a Python file and places its contents into the Editor.
You can use Save to Python... to put my_script.py into place and then your "Run Python Script" task would be:
import my_script, workflow
If you are editing Python files then you might want to force a reload to ensure your workflow is really importing your latest and greatest code:
import my_module_a ; reload(my_module_a)
import my_module_b ; reload(my_module_b)