Visão Geral
Este Curso Python for Automation and Scripting, oferece uma abordagem prática e abrangente sobre como utilizar Python para automação de tarefas repetitivas e criação de scripts eficientes. Os participantes aprenderão a automatizar processos em sistemas operacionais, manipular arquivos, realizar scraping da web, e interagir com APIs. O Curso Python for Automation and Scripting, também cobre bibliotecas e ferramentas essenciais que tornam Python uma das linguagens mais versáteis para automação
Conteúdo Programatico
Module 1: Introduction to Python for Automation
- Overview of Python's capabilities for automation
- Setting up a Python environment for scripting
- Understanding scripting vs traditional programming
- Writing your first automation script
Module 2: File and Directory Manipulation
- Reading from and writing to files
- Automating file system tasks (copy, move, rename, delete)
- Working with file paths and directories
- Batch processing files
Module 3: Automating System Tasks
- Using Python to run system commands
- Automating tasks with
os
and subprocess
modules
- Scheduling scripts to run automatically
- Automating repetitive tasks in Windows, Linux, and macOS
Module 4: Web Scraping with Python
- Introduction to web scraping and its applications
- Using
requests
and BeautifulSoup
for data extraction
- Scraping dynamic websites with
Selenium
- Storing scraped data in files and databases
Module 5: Automating with APIs
- What are APIs and how they work
- Sending requests to RESTful APIs using Python (
requests
)
- Parsing JSON responses and automating API interactions
- Automating workflows by integrating multiple APIs
Module 6: Working with Excel and CSV Files
- Automating Excel tasks with
openpyxl
and pandas
- Reading and writing CSV files
- Automating data processing in spreadsheets
- Creating reports using Python automation scripts
Module 7: Error Handling and Debugging in Automation Scripts
- Common issues in automation scripts and how to handle them
- Using logging for debugging and tracking script execution
- Writing robust scripts that handle unexpected errors
Module 8: Advanced Scripting Techniques
- Writing modular and reusable scripts
- Automating complex workflows
- Using Python to interface with cloud services (e.g., AWS, Google Cloud)
- Case study: Automating a complete business process with Python