Simplify .py listing code, moving Misc examples.