Curso Python Foundation
24 horasVisão Geral
Aprenda a desenvolver scripts Python que incluem; recuperação e armazenamento de dados do sistema local, trabalhando com APIs RESTful e decodificando JSON.
Python é uma linguagem interpretada, orientada a objetos e de alto nível que realiza trabalhos com pressa! O Python pode melhorar a capacidade de todos os profissionais de fazer o trabalho e está disponível gratuitamente em todas as principais plataformas, sem custo. Todas as lições dos nossos cursos são altamente relevantes para scripts no local de trabalho, incluindo; recuperação e armazenamento de dados do sistema local, trabalhando com APIs RESTful e decodificando JSON.
Objetivo
Após realizar este curso você será capaz de:
Neste curso, os alunos aprenderão como começar a usar o Python, incluindo uma visão geral da Biblioteca Padrão e bibliotecas populares de terceiros. As lições incluem controle de versão com git, armazenamento de dados em lista e dicionários, trabalho com objetos e métodos, condicionais, loop, criação de funções e construção de classes. Os laboratórios de alta relevância aprimoram essas habilidades à medida que os alunos aprendem a usar o JSON extraído das APIs, manipulam planilhas do Excel, criam tabelas e gráficos avançados e analisam arquivos de log com a biblioteca de expressões regulares do Python.
Publico Alvo
- Este curso é uma introdução apropriada para estudantes de qualquer formação que desejam iniciar o Python.
- Os administradores de sistema, engenheiros de rede, gerentes e pessoas com habilidades de desenvolvimento em outras linguagens de programação acharão as lições e laboratórios altamente relevantes para suas disciplinas.
Pre-Requisitos
- Conhecimento básico em linguagem de programação
Materiais
Português/InglêsConteúdo Programatico
Introduction to Python
- Installing Python 2.7+
- Installing Python 3.x
- Preparing to write Python
- Preparing to write a Python file (*.py) - Text Editors
- Executing a Python file
- Python Enhancement Proposals
- How to “speak” Python
- Python Statements and Control Flow
- Python Interpreter
- Overview of the Standard Library
Version Controlling Code
- Set up a github account
- Github essentials
- README course requirements
- How to Set up a repo
- Issue a Pull request
- How to use “Issues” for peer review
Basics of Programming
- Functions
- Objects
- Methods
- Built in Functions
- Functions and Arguments
- Print()
- White spacing basic rules
- String Literal Escape Sequences
- Python Variables
- Naming Conventions & Rules
- Types as Objects
- Sequence Types
- List Iteration
- List Enumeration
- Sequence Assignments
- Mutable vs Immutable Objects
- Assignment Shorthand
Python Basic Variables and Data Types
- Numeric Types
- Operators and Precedence / Arithmetic Expressions
- Integers
- Floating points
String Types
- Generating Strings in Python
- Common String Methods
- Formatting String Output
- Booleans
- Printing and formatting strings
- Scripting with input()
- About raw_input()
Lists & Dictionaries & Tuples
- LIsts
- Mixed Lists
- Common List Methods
- Other List Operations
- Dictionaries
- Python Dictionaries
- Keys and Values
- Dictionary Building
- Dictionary Methods
- Tuples
- Python Time Tuples
- Dictionaries vs Lists vs Tuples
- Translating JSON to Pythonic Lists, Dictionaries and Tuples
If, elif, else
- Relational Operators
- Logical operators
- Comparison Operations
- “simple” if Statement
- If else statements
- If elif
- Nested if statement
Looping with “while”
- While usage
- Count controlled loop
- Event controlled loop
- Continue
- Break
Looping with “for”
- The for Loop
- For iteration examples
- Looping across data sets
- Looping across lists of lists
- Looping across lists of dictionaries
Understanding Iterators
- The range() Function
- Taking the range() of len()
- Iterable Objects
- The iter() Function
- Looping with dictionaries
- Looping with lists
Getting Data In and Out of Python
- Opening Files
- Working with Files
- Read data from files
- Controlling Output Location
- Intro to working with APIs
- What is a “REST”ful API?
- APIs and JSON
Python List Comprehension
- Basic List Comprehensions
- Compound List Comprehensions
Creating Python Functions
- Function Basics
- Defining Functions
- Function Polymorphism
- Argument Defaults
- Lambdas
- What is if __name__ == “__main__”
- Local Variables
- Variable Masking
- Creating functions using Sorted() and sort()
- Preventing Variable Modifications
- Argument Matching Methods
Modules & Packages
- Pip and pip3
- Module Basics
- Packages
- Virtual environments
- Defined modules
- Import modules
- From import statements
- Namespace
Python Scope
- Naming conventions
- Local scope
- Global scope
- Nested scope
Object Oriented Python
- About OOP
- The Class Statements
- Defining a class
- Class Inheritance
- Classes as Objects
- Using Dictionaries
- Understanding self
- Class fields and constructors
- Data structures
- Subclasses (Inheritance)
- Multiple Inheritance
- Static methods
(Optional) Regular Expression
- import re library
- Writing regular expression
- Searching for data in files
- Using Regular Expression to search data sets
- Searching for data in Wireshark Traces (Python and *.pcaps)