Curs Python Scripting
24 horasObjetivo
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 cloudConteúdo Programatico
Python Introduction
- What’s Python?
- Why do people use Python?
- Some quotable quotes
- A Python history lesson
- Advocacy News
- What’s Python good for?
- What’s Python not good for?
- The features list
- Python portability
Using the Interpreter
- Python's Interactive Prompt
- Scripting
- Program Execution Model
- Program Architecture: modules
- How to run Python programs
- Using Python IDEs
Python Scripting
- Python Scripts in Linux/Unix & Windows
- Whitespace Significance
- Line Termination
- Comments in Python
- Basic Output Generation
- Simple User Input
- Python Modules
- Module Search Paths
- Determining the System Search Path
- input()
Working with Variables in Python
- Python Variables
- Naming Conventions & Rules
- Types as Objects
- Variable References & Garbage Collection
- Sequence Types
- Membership Statements
- List Iteration
- Sequence Assignments
- Mutable vs Immutable Objects
- Multi Target Assignments
Numeric Operations in Python
- More About Python's Numeric Types
- Numeric Tools
- The Decimal Module
- Operator
- Arithmetic
- Logical
- Relational
- Bitwise
- Special Operators
- Operator Precedence
Decision making & Looping
- Comparison Operations
- The if Statement
- The if Ternary Expression
- The while Loop
- The for Loop
Debugging
- Dealing with syntax errors
- Dealing with runtime errors
- Dealing with logical errors
- Using unit tests
Python Strings
- Generating Strings in Python
- Immutable
- Common String Methods
- Type Conversion in Python
- Formatting String Output
- Format Specifier
- Variable Substitution
- String Indexing
- String Slicing
- String Iteration
Python's Tuples
- Immutable
- Common Tuples Methods
- Tuples Operations
- Tuples Indexing
- Tuples Slicing
- Tuples Iteration
- Multi-Dimensional Tuples (Matrices)
Python's Lists
- Common List Methods
- The range() Function
- List Operations
- String Indexing
- String Slicing
- String Iteration
- Multi-Dimensional Lists (Matrices)
Python List Comprehension
- Basic List Comprehensions
- Compound List Comprehensions
Python set data type
- Understanding & using set data type
Python Dictionaries
- Python Dictionaries
- Assigning Values to Dictionaries
- Dictionary Methods
- Dictionaries vs Lists & Tuples
- Dictionary Indexing
- Dictionary Iteration
Basic Input/Output with Files
- Opening Files
- Working with Files
- Controlling Output Location
Creating Python Functions
- Function Basics
- Defining Functions
- Function Polymorphism
- Argument Defaults
- Lambdas
- Local Variables
- Understanding __builtin__
- Preventing Variable Modifications
- Argument Matching Methods
- Keyword Argument Methods
Classes and Objects
- Introduction to OOP using python
- Classes and class attributes
- Instances and instance attributes
- Binding and method invocation
- Composition, Sub-classing and Derivation
- Inheritance
- Built-in functions for classes, instances and other objects
- Privacy and Delegation
- An overview of built-in python classes and modules
Modules & Packages
- Module Basics
- Packages
- Package Creation and Importing
- Using __all__ and _ Variables
- Using __name__
- Using third party modules
Exceptions
- About Exceptions
- Learning how exceptions work in Depth
- Handling exceptions
- Raising exceptions
- Catching exceptions
- Python's Default Exception Handler
- Using Try/Except/Else/Finally Exceptions
- Generating User Defined Exceptions
- Using Asserts
- Exception Classes
Regular Expression in Python
- Using the re module
- Searching with regular expressions
- Replacing with regular expressions
- Reusing regular expressions with re.compile
- The match Function
- The search Function
- Regular-expression patterns
- Backreferences
- Translation
MySQL Database access
- Creating Database Connection
- Creating Database & Table
- INSERT Operation
- READ Operation
- Update Operation
- DELETE Operation
- COMMIT Operation
- ROLLBACK Operation
Multi-threaded Programming
- Starting a New Thread
- The Threading Module
- Creating Thread Using Threading Module
- 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.,