T
T
Tr3m2015-05-12 13:57:23
Python
Tr3m, 2015-05-12 13:57:23

What to read about using python to manage a server?

Good afternoon.
Himself a beginner sys. admin. Like everyone, probably at some stage I thought about the need to learn a good scripting language, the choice fell on Python. At the university, in the first courses, I had the basics of C #, and before that I was still at the VB school, so the progress in learning the basics and syntax went quickly and almost painlessly. Now it's a matter of practice, and then I realized that all my knowledge about classes, lists, functions and other things is of little use without the ability to interact with the OS, interfaces, network, etc. I would like to hear a couple of tips on how to start using python for simple scripts and script examples.
ps Links to literature on python scripting are welcome (ru/eng doesn't matter).
Thanks in advance

Answer the question

In order to leave comments, you need to log in

5 answer(s)
M
marble, 2015-05-12
@Tr3m

I would like to hear a couple of tips on how to start using python for simple scripts and script examples.
Try to use it in everyday tasks, but, no matter how crazy it sounds, use it even in small needs, for example, connect somewhere and fill it with something - experience will quickly trample, because the tasks are probably different, at first you will stumble, then you will talk on it . If you do not apply it, you will forget, even the basics. :)
ps Links to literature on python scripting are welcome (ru/eng doesn't matter).
No sarcasm: learn to read the official documentation, everything is there, especially if English is not a problem.

M
myfirepukan, 2015-05-12
@myfirepukan

Write a simple daemon in python, it doesn't matter which monitors sites on another server, for example...

U
un1t, 2015-05-12
@un1t

There is a book "Python in UNIX and Linux System Administration", I haven't read it, but maybe this is what you need.

A
Alexander, 2015-05-12
@NeiroNx

Learn to write and read regular expressions. Without them, scripting is hard.

A
Andrew, 2015-05-12
@caa888

You 9767b74be7d64db28b1daa1f4ac24263.jpgmay need this book
https://yadi.sk/i/WZAv9wMKgaU32
link will work for 24 hours)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question