Curso Python For Networking & System Administrators
24 horasVisão Geral
Curso Python For Networking & System Administrators, Voltado para administradores de rede que buscam automatizar tarefas administrativas em um conjunto de clientes distribuídos Python para administradores de rede é um curso de treinamento prático introdutório e prático em Python que leva o aluno desde o básico de escrever e executar scripts Python até os mais avançados. recursos como operações de arquivo, expressões regulares, trabalho com dados binários e uso da ampla funcionalidade de módulos Python com foco em módulos focados em rede, como serviços SSH, Git e RESTful. Este curso prático e abrangente oferece uma exploração aprofundada do trabalho com a linguagem de programação, e não uma visão geral acadêmica de sintaxe e gramática. Os alunos poderão usar Python imediatamente para realizar esses tipos de tarefas no mundo real.
Publico Alvo
- Este Curso Python For Networking & System Administrators é apropriado para usuários avançados, administradores de sistemas e administradores de sites que desejam usar Python para dar suporte a instalações de servidores, bem como qualquer pessoa que queira automatizar ou simplificar tarefas comuns com o uso de scripts Python.
Pre-Requisitos
- Os participantes devem ter conhecimento prático no desenvolvimento de aplicativos Java 8 básicos. Os alunos devem ter experiência básica de desenvolvimento em qualquer linguagem de programação, juntamente com um conhecimento prático de nível de usuário de Unix/Linux, Mac ou Windows.
Materiais
Inglês/Português/Lab PráticoConteúdo Programatico
An Overview of Python
- What is python?
- An overview of Python
- What is python?
- Python Timeline
- Advantages/Disadvantages of Python
- Getting help with pydoc
The Python Environment
- Starting Python
- Using the interpreter
- Running a Python script
- Python scripts on Unix/Windows
- Editors and IDEs
Getting Started
- Using variables
- Builtin functions
- Strings
- Numbers
- Converting among types
- Writing to the screen
- Command line parameters
Flow Control
- About flow control
- White space
- Conditional expressions
- Relational and Boolean operators
- While loops
- Alternate loop exits
Sequences
- About sequences
- Lists and list methods
- Tuples
- Indexing and slicing
- Iterating through a sequence
- Sequence functions, keywords, and operators
- List comprehensions
- Generator Expressions
- Nested sequences
Working with files
- File overview
- Opening a text file
- Reading a text file
- Writing to a text file
- Reading and writing raw (binary) data
- Converting binary data with struct
Dictionaries and Sets
- About dictionaries
- Creating dictionaries
- Iterating through a dictionary
- About sets
- Creating sets
- Working with sets
Functions
- Defining functions
- Parameters
- Global and local scope
- Nested functions
- Returning values
Sorting
- The sorted() function
- Alternate keys
- Lambda functions
- Sorting collections
- Using operator.itemgetter()
- Reverse sorting
Errors and Exception Handling
- Syntax errors
- Exceptions
- Using try/catch/else/finally
- Handling multiple exceptions
- Ignoring exceptions
Modules and Packages
- The import statement
- Module search path
- Creating Modules
- Using packages
- Function and Module aliases
Classes
- About o-o programming
- Defining classes
- Constructors
- Methods
- Instance data
- Properties
- Class methods and data
Regular Expressions
- RE syntax overview
- RE Objects
- Searching and matching
- Compilation flags
- Groups and special groups
- Replacing text
- Splitting strings
The standard library
- The sys module
- Launching external programs
- Math functions
- Random numbers
- The string module
- Reading CSV data
Dates and times
- Working with dates and times
- Translating timestamps
- Parsing dates from text
- Formatting dates
- Calendar data
Working with the file system
- Paths, directories, and filenames
- Checking for existence
- Permissions and other file attributes
- Walking directory trees
- Creating filters with fileinput
- Using shutil for file operations
Network services
- Grabbing web content
- Sending email
RESTful Services
- REST Overview
- Essential RESTful services with Flask
- Consuming RESTful services
- Overview of Reactive Programming with RxPY
Programmatic SSH
- SSH, SCP and SFTP Overview
- Essential Paramiko
- Maintaining multiple clients
DevOps and GitPython
- DevOps Overview
- Git Overview
- Programmatic Git with GitPython