Python3 scripting (linux admin)
Hi guys im trying to find a book or video series that shows you how to do interesting stuff with Linux. What I means is a resource that would teach me how to write backup scripts.
Most of the python3 stuff I have read covers boring stuff like strings, lists
Most of the python3 stuff I have read covers boring stuff like strings, lists
Microsoft's strategy to conquer the I.T industry
" Embrace, evolve, extinguish "
" Embrace, evolve, extinguish "
Comments
-
the_Grinch Member Posts: 4,165 ■■■■■■■■■■Once I finish my final I am dedicating six weeks to Python. The following should help you out:
https://www.amazon.com/Automate-Boring-Stuff-Python-Programming/dp/1593275994/ref=sr_1_2?ie=UTF8&qid=1468621556&sr=8-2&keywords=python
https://www.amazon.com/Python-Crash-Course-Hands--Project-Based/dp/1593276036/ref=sr_1_4?ie=UTF8&qid=1468621556&sr=8-4&keywords=pythonWIP:
PHP
Kotlin
Intro to Discrete Math
Programming Languages
Work stuff -
Verities Member Posts: 1,162"Cookbooks" are usually good references on how to write scripts in Python.
The items you may consider the "boring stuff" are some of the most important things to learn. If you want to be able to write scripts in Python, you need to have a proper foundation, then you can apply logic which in turn will allow you to solve problems with scripts.
Can I ask what type of backups are you trying to script? -
beads Member Posts: 1,533 ■■■■■■■■■□Agree with Verities with one small addition, if you don't mind too much. Its boring if you have no practical purpose in which to apply the skill. Otherwise if the knowledge simply sits in a academic or theoretical purview there is no point, is there?
The real payoff is when you get to solve a problem or save a bunch of time freeing yourself up to do less boring things/more productive tasks. Like spending too much time on Tech-Exams.
- b/eads -
DoubleNNs Member Posts: 2,015 ■■■■■□□□□□https://www.amazon.com/Python-Unix-Linux-System-Administration/dp/0596515820/ref=sr_1_1?ie=UTF8&qid=1468890494&sr=8-1&keywords=python+linux
and
https://www.amazon.com/Python-System-Administration-Rytis-Sileika-ebook/dp/B00MBL25L8/ref=sr_1_2?ie=UTF8&qid=1468890538&sr=8-2&keywords=python+unix+pro
(Read the comments on the critical review -- one of Python's main redeeming qualities is the amount of modules available, and honestly it's easy as sin to install almost anything on PyPI -- granted you have the system privileges to use pip or similar)
The books above are mostly decent and a good start. But the best method is to initially get a good grasp of the language and then progress onto StackOverflow and/or GitHub. Reddit, IRC, and Slack are also great resources.Goals for 2018:
Certs: RHCSA, LFCS: Ubuntu, CNCF CKA, CNCF CKAD | AWS Certified DevOps Engineer, AWS Solutions Architect Pro, AWS Certified Security Specialist, GCP Professional Cloud Architect
Learn: Terraform, Kubernetes, Prometheus & Golang | Improve: Docker, Python Programming
To-do | In Progress | Completed