Yes, totally agree. I was thinking of notebooks strictly as the first contact... get the notion of python commands, variables, syntax, etc.
It would be great to "move out" all the working code that has been REPL-tested into a separate file. Bonus points if it is a standalone command-line-runnable script that does something useful, e.g. after reading inputs from `sys.argv`. The exposure to running programs in the command line is probably a key skill I would include in the ABSOLUTE BEGINNER (because it is a prerequisite for so many other things).
I suppose running a "server" would also be good to learn (even if just localhost), but that's getting into the HTTP/TCP/IP stack, so I would cover that CODING 102, not CODING 101.