Visão Geral
O Curso Python Programming Advanced, que seria a continuação do Curso Introduction to Python Programming, de onde parou a Introdução à Programação Python, cobrindo alguns tópicos com mais detalhes e adicionando novos. Por exemplo, as aulas são abordadas com mais detalhes, com nova cobertura de serviços de sistema operacional, gerenciamento de data/hora, dados binários, testes unitários, conectividade de banco de dados, programação de rede e muito mais.
Objetivo
Após realizar este Curso Python Programming Advanced você será capaz de:
- Aproveite os serviços do sistema operacional
- Adicione melhorias às aulas
- Codifique interfaces gráficas para aplicativos
- Entenda conceitos avançados de metaprogramação em Python
- Crie módulos e pacotes fáceis de usar e manter
- Implementar e executar testes unitários
- Crie aplicativos multithread e multiprocessos
- Interaja com serviços de rede
- Crie roteiros profissionais
- Consultar bancos de dados
Pre-Requisitos
- Todos os alunos devem ser capazes de escrever scripts Python simples usando tipos de dados básicos, estruturas de programas e a biblioteca Python padrão.
- ou ter concluido o Curso Introduction to Python Programming
Materiais
Inglês/Português/Lab Prático
Conteúdo Programatico
Introduction
Python Refresher
- Built-in data types
- Lists and tuples
- Dictionaries and sets
- Program structure
- Files and console I/O
- If statement
- for
- Built-in functions
- User-defined functions
- Modules and packages
- Basic OOP
OS Services
- The os and os.path modules
- Environment variables
- Launching external commands with subprocess
- Walking directory trees
- Paths, directories, and filenames
- Working with file systems
Dates and Times
- Basic date and time classes
- Different time formats
- Converting between formats
- Formatting dates and times
- Parsing date/time information
Binary Data
- What is Binary Data?
- Binary vs text
- Using the Struct module
Pythonic Programming
- The Zen of Python
- Tuples
- Advanced unpacking
- Sorting
- Lambda functions
- List comprehensions
- Generator expressions
- String formatting
Functions, Modules, and Packages
- Four types of function parameters
- Four levels of name scoping
- Single/multi-dispatch
- Relative imports
- Using __init__ effectively
- Documentation best practices
Enhancing Classes
- Class/static data and methods
- Inheritance (or composition)
- Abstract base classes
- Creating attributes with attr
- Implementing protocols (context, iterator, etc.)
Metaprogramming
- Implicit properties
- globals() and locals()
- Working with object attributes
- The inspect module
- Callable classes
- Decorators
- Monkey patching
Developer Tools
- Analyzing programs with pylint
- Using the debugger
- Profiling code
- Testing speed with benchmarking
Unit Testing with PyTest
- What is a unit test
- Creating test cases
- Writing and running tests
- Test harnesses
- Working with fixtures
Database Access
- The DB API
- Available Interfaces
- Connecting to a server
- Creating and executing a cursor
- Fetching data
- Parameterized statements
- Using Metadata
- Transaction control
- ORMs and NoSQL overview
PyQt
- Overview
- Qt Architecture
- Using designer
- Standard widgets
- Event handling
- Extras
Network Programming
- Built-in classes
- Using requests
- Grabbing web pages
- Sending email
- Working with binary data
- Consuming RESTful services
- Remote access (SSH)
Multiprogramming
- The threading module
- Sharing variables
- The queue module
- The multiprocessing module
- Creating pools
- About async programming
Scripting for System Administration
- Running external programs
- Parsing arguments
- Creating filters to read text files
- Logging
Serializing Data
- Working with XML
- XML modules in Python
- Getting started with ElementTree
- Parsing XML
- Updating an XML tree
- Creating a new document
- About JSON
- Reading JSON
- Writing JSON
- Reading/writing CSV files
- YAML, other formats as time permits
Advanced Data Handling [as time permits]
- Discover the collections module
- Use defaultdict, Counter, and namedtuple
- Create dataclasses
- Store data offline with pickle
Type Hinting [as time permits]
- Annotate variables
- Learn what type hinting does NOT do
- Use the typing module for detailed type hints
- Understand
- Write stub interfaces
TENHO INTERESSE