Curs Python Scripting

  • DevOps | CI | CD | Kubernetes | Web3

Curs Python Scripting

24 horas
Objetivo

Este é um Curs Python Scriptin,  prático, desenvolvido para ajudar os desenvolvedores a acelerar o Python o mais rápido possível. O participante deste curso experimentará o seguinte:

  • Arquitetura
  • Entrada e saída
  • Listas, tuplas, conjuntos e dicionários
  • Tomada de decisão e ciclos
  • Manipulação de erros.
  • Função
  • Recursos orientados a objetos. Classes e objetos
  • Criando e usando bibliotecas e pacotes.
  • Expressões regulares
  • Acesso ao banco de dados – MySQL
  • CSV, manipulação de JSON
  • Enviando email
  • Programação multithread
  • Pandas, entorpecidos
Informações Gerais

 

Materiais
Português + Lab Pratico on premise vs cloud
Conteúdo Programatico

Python Introduction

  1. What’s Python?
  2. Why do people use Python?
  3. Some quotable quotes
  4. A Python history lesson
  5. Advocacy News
  6. What’s Python good for?
  7. What’s Python not good for?
  8. The features list
  9. Python portability

Using the Interpreter

  1. Python's Interactive Prompt
  2. Scripting
  3. Program Execution Model
  4. Program Architecture: modules
  5. How to run Python programs
  6. Using Python IDEs

Python Scripting

  1. Python Scripts in Linux/Unix & Windows
  2. Whitespace Significance
  3. Line Termination
  4. Comments in Python
  5. Basic Output Generation
  6. Simple User Input
  7. Python Modules
  8. Module Search Paths
  9. Determining the System Search Path
  10. input()

Working with Variables in Python

  1. Python Variables
  2. Naming Conventions & Rules
  3. Types as Objects
  4. Variable References & Garbage Collection
  5. Sequence Types
  6. Membership Statements
  7. List Iteration
  8. Sequence Assignments
  9. Mutable vs Immutable Objects
  10. Multi Target Assignments

Numeric Operations in Python

  1. More About Python's Numeric Types
  2. Numeric Tools
  3. The Decimal Module
  4. Operator
  5. Arithmetic
  6. Logical
  7. Relational
  8. Bitwise
  9. Special Operators
  10. Operator Precedence

Decision making & Looping

  1. Comparison Operations
  2. The if Statement
  3. The if Ternary Expression
  4. The while Loop
  5. The for Loop

Debugging

  1. Dealing with syntax errors
  2. Dealing with runtime errors
  3. Dealing with logical errors
  4. Using unit tests

Python Strings

  1. Generating Strings in Python
  2. Immutable
  3. Common String Methods
  4. Type Conversion in Python
  5. Formatting String Output
  6. Format Specifier
  7. Variable Substitution
  8. String Indexing
  9. String Slicing
  10. String Iteration

Python's Tuples

  1. Immutable
  2. Common Tuples Methods
  3. Tuples Operations
  4. Tuples Indexing
  5. Tuples Slicing
  6. Tuples Iteration
  7. Multi-Dimensional Tuples (Matrices)

Python's Lists

  1. Common List Methods
  2. The range() Function
  3. List Operations
  4. String Indexing
  5. String Slicing
  6. String Iteration
  7. Multi-Dimensional Lists (Matrices)

Python List Comprehension

  1. Basic List Comprehensions
  2. Compound List Comprehensions

Python set data type

  1. Understanding & using set data type

Python Dictionaries

  1. Python Dictionaries
  2. Assigning Values to Dictionaries
  3. Dictionary Methods
  4. Dictionaries vs Lists & Tuples
  5. Dictionary Indexing
  6. Dictionary Iteration

Basic Input/Output with Files

  1. Opening Files
  2. Working with Files
  3. Controlling Output Location

Creating Python Functions

  1. Function Basics
  2. Defining Functions
  3. Function Polymorphism
  4. Argument Defaults
  5. Lambdas
  6. Local Variables
  7. Understanding __builtin__
  8. Preventing Variable Modifications
  9. Argument Matching Methods
  10. Keyword Argument Methods

Classes and Objects

  1. Introduction to OOP using python
  2. Classes and class attributes
  3. Instances and instance attributes
  4. Binding and method invocation
  5. Composition, Sub-classing and Derivation
  6. Inheritance
  7. Built-in functions for classes, instances and other objects
  8. Privacy and Delegation
  9. An overview of built-in python classes and modules

Modules & Packages

  1. Module Basics
  2. Packages
  3. Package Creation and Importing
  4. Using __all__ and _ Variables
  5. Using __name__
  6. Using third party modules

Exceptions

  1. About Exceptions
  2. Learning how exceptions work in Depth
  3. Handling exceptions
  4. Raising exceptions
  5. Catching exceptions
  6. Python's Default Exception Handler
  7. Using Try/Except/Else/Finally Exceptions
  8. Generating User Defined Exceptions
  9. Using Asserts
  10. Exception Classes

Regular Expression in Python

  1. Using the re module
  2. Searching with regular expressions
  3. Replacing with regular expressions
  4. Reusing regular expressions with re.compile
  5. The match Function
  6. The search Function
  7. Regular-expression patterns
  8. Backreferences
  9. Translation

MySQL Database access

  1. Creating Database Connection
  2. Creating Database & Table
  3. INSERT Operation
  4. READ Operation
  5. Update Operation
  6. DELETE Operation
  7. COMMIT Operation
  8. ROLLBACK Operation

Multi-threaded Programming

  1. Starting a New Thread
  2. The Threading Module
  3. Creating Thread Using Threading Module
  4. Synchronizing Threads

CSV files Processing 24. JSON Processing 25. Logging & Warning modules 26. Working with python rest api – consuming data from external sources viz weather data, stock exchange, city names using location data etc.,

TENHO INTERESSE

Cursos Relacionados

Curso Ansible Red Hat Basics Automation Technical Foundation

16 horas

Curso Terraform Deploying to Oracle Cloud Infrastructure

24 Horas

Curso Ansible Linux Automation with Ansible

24 horas

Ansible Overview of Ansible architecture

16h

Advanced Automation: Ansible Best Practices

32h

Curso Red Hat DevOps Pipelines and Processes: CI/CD with Jenkins

24h

Curso Cloud Security and DevSecOps Automation

32 horas