![]() Check if you have iPython installed which python To get started, first off you'll need to either have Python installed or install it with Miniconda. Even if you have no programming ability Python is an easy language to get started with.If you work on different operating systems you can use Python libraries that will deal with all that under the hood.Robust error checking with try and catch blocks.Python is available on most systems, and if it's not you can get it with Miniconda.Robust testing suite if that's your thing (and if it's not, you should consider making it your thing).That includes dealing with system operations, reading files, listing directories, writing for loops, checking for exit codes, and so on. Python has lots of nice libraries to help out with pretty much anything.There are a lot of benefits to using Python as your go to command line language. Once a task goes beyond find $(pwd) -name "*.txt" | xargs -I " ![]() It's also great for anyone who has to deal with anything in a terminal but doesn't want to use bash, or has needs that are too complex for bash. Picking up some Python is a perfect choice for system administrators. Sometimes I tell people that find, grep and xargs run their infrastructure, and they laugh and laugh until they realize I'm serious. I spend a lot of time in the terminal, and bash is my default "programming language". I have a bit of a love and hate relationship with bash.
0 Comments
Leave a Reply. |