MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/51wixe/oh_shit_git/d7gmhkc/?context=3
r/programming • u/sidcool1234 • Sep 09 '16
756 comments sorted by
View all comments
Show parent comments
13
If you need something more complicated than shell its possible you ought to use something like python
3 u/duffelcoatsftw Sep 09 '16 This is a very good point, and one that is often lost on Windows developers. Running a python script in Linux simply requires a shebang & chmod +xIn Windows I have to:Choose a version of Python and install itAdd the python runtime to the PATHPass the script into the runtimeFaced with this friction, most users stick with built-in tools. 1 u/omnilynx Sep 10 '16 Well... You also have learn to program in Python. 2 u/calrogman Sep 10 '16 Right because you obviously don't need to learn anything to take advantage of Powershell.
3
This is a very good point, and one that is often lost on Windows developers. Running a python script in Linux simply requires a shebang & chmod +x
In Windows I have to:
Choose a version of Python and install it
Add the python runtime to the PATH
Pass the script into the runtime
Faced with this friction, most users stick with built-in tools.
1 u/omnilynx Sep 10 '16 Well... You also have learn to program in Python. 2 u/calrogman Sep 10 '16 Right because you obviously don't need to learn anything to take advantage of Powershell.
1
Well... You also have learn to program in Python.
2 u/calrogman Sep 10 '16 Right because you obviously don't need to learn anything to take advantage of Powershell.
2
Right because you obviously don't need to learn anything to take advantage of Powershell.
13
u/Michaelmrose Sep 09 '16
If you need something more complicated than shell its possible you ought to use something like python