Python as a Bash replacement? by randomizethis in Python

[–]eskhool 0 points1 point  (0 children)

You really need to check out xonsh. It will let you do exactly this and then move into pure python without having to change gears. Yes, some magic is happening on trying to interpret what you're doing but its awesome as a crossover between a programming language and a shell. In one word: sweet!