3 ms·
It sounds to me like you would be happy with a python3 REPL that automatically 'import's certain libraries. I don't know if it is possible to configure the REPL
by dotancohen 9y ago
It sounds to me like you would be happy with a python3 REPL that automatically 'import's certain libraries. I don't know if it is possible to configure the REPL like that, but you could probably script it!
- krab 9y agoThat's possible with a PYTHONSTARTUP file. https://docs.python.org/3.6/using/cmdline.html#envvar-PYTHONSTARTUP https://docs.python.org/3.6/using/cmdline.html#envvar-PYTHON...
- falcolas 9y agoI actually worked with someone who did exactly this: they replaced their bash shell with the python shell. It took them a year to get it comfortably working, and they were constantly tweaking on it, but it did work. Some tasks were harder, some easier, but it was all quite entertaining to see.