MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/ivdvef/powershell_vs_python_reference/g5rdsl2/?context=3
r/Python • u/pmz • Sep 18 '20
14 comments sorted by
View all comments
19
Since you cna execute shell commands with python I sometimes use it as a shellscript on crack. Because you cna basically do everything that shellscript can and also have standard python plus the boat loads of libraries
5 u/LightShadow 3.13-dev in prod Sep 19 '20 I use invoke instead of Makefiles now.There's also konch for fast loading an "environment" for scripting...and Xonsh which uses Python as a shell environment and scripting language. 7 u/shiftedcloud Sep 19 '20 ipython makes this even better. 0 u/[deleted] Sep 19 '20 [deleted] 6 u/shiftedcloud Sep 19 '20 It's super neat. Tab completion. Syntax highlighting. Multiline paste to a single, editable bulk line.It's really nice when you're just trying to figure your way through a problem. 2 u/[deleted] Sep 19 '20 Also inbuilt help (through docstrings) 1 u/alcalde Nov 23 '20 Check out xonsh.
5
I use invoke instead of Makefiles now.
invoke
There's also konch for fast loading an "environment" for scripting...and Xonsh which uses Python as a shell environment and scripting language.
konch
Xonsh
7
ipython makes this even better.
0 u/[deleted] Sep 19 '20 [deleted] 6 u/shiftedcloud Sep 19 '20 It's super neat. Tab completion. Syntax highlighting. Multiline paste to a single, editable bulk line.It's really nice when you're just trying to figure your way through a problem. 2 u/[deleted] Sep 19 '20 Also inbuilt help (through docstrings)
0
[deleted]
6 u/shiftedcloud Sep 19 '20 It's super neat. Tab completion. Syntax highlighting. Multiline paste to a single, editable bulk line.It's really nice when you're just trying to figure your way through a problem. 2 u/[deleted] Sep 19 '20 Also inbuilt help (through docstrings)
6
It's super neat. Tab completion. Syntax highlighting. Multiline paste to a single, editable bulk line.
It's really nice when you're just trying to figure your way through a problem.
2 u/[deleted] Sep 19 '20 Also inbuilt help (through docstrings)
2
Also inbuilt help (through docstrings)
1
Check out xonsh.
19
u/flopana Sep 19 '20
Since you cna execute shell commands with python I sometimes use it as a shellscript on crack. Because you cna basically do everything that shellscript can and also have standard python plus the boat loads of libraries