Python es un potente lenguaje de programación orientado a objetos. Su combinación de estructuras de alto nivel, escritura de datos dinámica y un rico soporte de librerías lo convierten en una excelente aplicación para la programación. El lenguaje ofrece una forma eficaz para solucionar varias tareas cuando gestiona servidores Unix y Linux. Con este libro aprenderá a desplegar sus aplicaciones Python y bibliotecas, y a escribir código que se ejecuta igualmente bien en plataformas Unix y Linux. Cada capítulo presenta un tema administrativo determinado, como concurrencia o backup de datos, y ofrece soluciones a través de ejemplos prácticos. Aprenderá a desarrollar su propio conjunto de utilidades de línea de comando con Python para abordar una amplia variedad de problemas. Los autores también han creado una máquina virtual Ubuntu gratuita que puede descargar y que incluye el código fuente del libro y ejecuta ejemplos con SNMP, IPython, SQLAlchemy, y otras utilidades.
I read this book as a way to get into the mindset of a sysadmin that actively uses Python in his/her day job and learn the tools of the trade. The book gets that job done quite nicely. That is the primary reason I'd recommend this book.
Being a software developer with previous Python experience, I didn't quite like the code quality of the sample scripts. They felt... sloppy, and I mostly mean cleanliness here: bad variable names, nesting that's too deep, etc. Luckily most scripts were short and and that made them easy to follow.
Curious book which can be very helpful for sysadmin/DevOps/SRE/other figures not yet very well versed in programming. The general idea is to get hooked in Python by running your usual shell commands in iPython and then gradually develop your own small scripts and bigger programs. The book contains various tricks to deal with legacy machines, such as Windows servers (through Zenoss) and devices which only respond to SNMP requests. I sincerely hope most people don't need to use those tricks any more, but for those who do consider this review to be 4/5 stars.
I found this book to be a collection of short introductions vs a book on Python for system administration.
One of the biggest takeaways for me was use of IPython. Since reading this book I can definitely say I use it more in my day to day work. I felt the book lacked clear, useful examples. Instead the author crammed as many hot libraries or ideas he could into the book, but without any additional help. If you took any of the topics and went to the documentation, you would've found a better use of your time. I think this would have been better developed as either a cookbook style tech guide, or pick fewer topics and extend the examples.
I think there's enough material in here to warrant a rewrite, but I would not recommend the entire book to a coworker.
This book covers tips for integrating Python into every-day Linux shell tasks. It promotes IPython which is rather handy tool for solving math-related problems, introduces Python eggs, subprocesses, basics of GUI programming and even Django framework.
But is lacks real-life examples of when Python is useful for administration. Almost all covered aspects are easier to perform using standard Linux shell tools like grep, awk, sed and so on.
I'd say the book is more about getting familiar with different Python libraries and tools than about administration.
Nice intro to Python and some potential uses for Systems Administration. There were errors in the example code. Some of the examples seemed far to trivial. Decided it would be better as potential reference material than something I should continue to plow through.