ed.py: add ! command to execute Python expr or statement
also reorganize: ed0 does not read/write console, move the only print stmt to ed