The path of the Python automation program

Source: Internet
Author: User
Tags ftp file snmp module forum software live chat

First day

1. Introduction to programming languages
2, Python Foundation, introduction of history, development and current situation
3. Python installation, Environment preparation
4, programming style, grammar requirements, variable format, etc.
5. Writing User interaction Scripts
6. Read user input
7, basic Process Control, if. Else/for x in.../while True
8, program flow control two, break\continue\ nested loop
9, Project Practice: Write User Login Authentication program
* Realize user name password login, input error 3 times after locking user, multi-user online!

Next day
1. Python I/O interaction
2. process files, modify and process file contents through Python
3. Project Practice: Writing Employee Information Inquiry procedure
* Read employee Information database, support fuzzy query, support dynamic Add, modify, delete employee information
4. List
5, tuples, set
6, the dictionary concept, grammar, use
7. Procedure Practice
8, Project Practice: Write credit card ATM program, automatic interest, automatic deduction, with statement function
* To provide the consumer shopping interface, withdrawals are subject to automatic processing fee, the end of each month to generate electronic statements, delayed repayment of interest


Third Day
1, the introduction and use of the Python module
2. Introduction of common modules
3, Pickle serialization (implementation of memory data between different programs to share)
4. Self-Customization module
5, exception handling, try....except
6. Custom exception Classes
7. Python function concept, syntax
8. Function parameters
9, function processing multiple parameters, default parameters
10. Return
11. Regular Expressions
12, iterators and generators
13. Lambda function Use
14, decoration, yield, reflection of the magical
15, Project Practice: Write Backup program, with regular backup, incremental backup, differential backup function


Fourth day
1, object-oriented Programming foundation
2. Basic syntax for classes
3, the Writing class practice small program
4. Initialization of class
5. The function below the class uses
6. Invocation of Class
7, the class of inheritance, polymorphism
8, the realization of a single case mode
8, Project Practice: An hung Love game program
* Practice using object-oriented thinking to design and write programs
9, actual combat one, simulated life game
* Set two story scenes, the scene can be interspersed, the characters have relationship and interaction and influence each other, according to different user's play to achieve open end


Fifth day
1, Socket Introduction
2. Python socket Syntax
3. Simple Socket Interaction Program
4. Development and use of Socket server
5. Multithreading non-blocking and processing
6. Practice Program: SSH client function with socket simulation
7, actual combat two, the development of FTP server \ Client software
* The development of server-side and client, through the socket module to achieve network communication, simulation to achieve the main ftp file download, upload function, to achieve multi-user concurrent online use.


Sixth day
1, actual combat three, the development of operation and maintenance audit server, to achieve the company's full network user operational audit needs
* Develop a bastion machine that enables users to log on to all Linux servers via the Web and command line, recording all user command operations
2, the actual combat four, through the Python script connection MySQL database realizes the data automatic storage, the update
3, actual combat five, the development of C/S architecture backup server for remote backup
* Remote compressed file transfer using Python socket module
Old boy Python devops advanced Course list

Python DevOps Development Training Advanced Course List
Seventh Day
1. Project actual combat Vi. writing the framework of Nagios monitoring software
2. Write the server-side of monitoring servers
3. Realize automatic monitoring and automatic alarm
4. Write Monitoring Client
5. Can monitor the custom process
6. Use Python SNMP module to obtain and process server information
7. Using Paramiko module to manage Linux server
8. Python NoSQL Database usage

Eighth Day
1, Python Multi-threaded program development and use
2, the project actual combat seven, the development of thousands of servers to achieve batch management, distribution instructions, file Transfer Operations management program \
3. Asynchronous model Select\poll\epoll explanation and code implementation
4. Producer and Consumer models
* Multi-threaded connection login to multiple Linux servers, to achieve concurrent command operation, real-time results returned, and according to the server performance control thread volume, thousands of machines to change the password 1 minutes to complete.

Nineth Day

3, Html/javascript Foundation
4, the WEB JS package BootStrap Introduction and use
* Create beautiful and fresh Web pages with Bootsstrap style
5. Using JSON (to realize the exchange of memory data between different programs)
6, Jquery/ajax Foundation and use
* Implement page part content and background interaction and refresh the page in real time

Day
1, the Python WEB schema Django Introduction, use
2. Django manage.py
3. Django View
4. Django models using MySQL Database
5. Django Template
6. Django URL
7. Django Admin
8. Write the dynamic interactive page of the front and back table

11th Day

1. Django Session
2. Django Middleware
3. User authentication and Rights management
4, Models API in-depth use

12th Day
Enterprise Project Combat Eight--Development BBS forum software
• Enable multi-user simultaneous online
• Enable posting, replying, commenting

13th Day
Enterprise Project Combat nine--develop web chat room software
• Enable multi-user simultaneous live chat
• A single user can open multiple windows and enter multiple chat rooms at the same time
• Optimize front-page chat pages with jquery
• Achieve the same effect as Web QQ


14th Day
Enterprise Project Combat 10--Electronic mall development
RESTFUL API Interface Specification
Django Rest Framework Development
Browse products, add shopping carts, buy goods
Complete Product settlement

15th day
Enterprise Project Combat 11--cmdb system development based on operation and maintenance automation
Store all IT asset information
Data can be added manually
Hardware information is automatically collected
Hardware information can be changed automatically
Flexibility to open APIs to other systems
API Interface Security Authentication

16th Day
Realization of distributed C/S architecture monitoring
Customizable monitoring templates, monitoring plugins
Web interface display, monitoring and drawing, etc.
How can the historical data of the monitoring drawing be minimized and stored without distortion?

17th Day

Implement the page batch execution command, the background real-time return results
Thousands of machines performing tasks concurrently, instantly returning results in real time
Implementing the WEB version Server monitoring feature
* Monitor server basic status, server performance and draw
Implementation of user, by group, according to the computer room and other management software use rights
* Enable different operators to use different levels of authority to manage different remote machines,
Can be bulk hair tasks, can be single-tasking
The execution results of all clients can be queried
Clients can perform tasks on a timed basis
Tasks include commands, file transfers, configuration management, and more

18th Day

Common algorithms that OPS developers need to master

1. Two points Search

2. Bubble sort

3 .....

The path of the Python automation program

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.