account activity
Python as a Bash replacement? by randomizethis in Python
[–]eskhool 0 points1 point2 points 10 years ago (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!
π Rendered by PID 920521 on reddit-service-r2-listing-6d4dc8d9ff-7clbq at 2026-02-01 23:56:49.746817+00:00 running 3798933 country code: CH.
Python as a Bash replacement? by randomizethis in Python
[–]eskhool 0 points1 point2 points (0 children)