Cursos

Python Programming Basics

1,300.00 +Iva

Duração: 3 dias
Próxima Data: 18/01/2022 a 21/01/2022
Área: Python
Certificação Associada: N/A
Local: Lisboa e Porto

*Curso disponível em Live Training

Quero inscrever-me
REF: PY1 Categorias: , Etiqueta:

Descrição

This hands-on Python programming course teaches you the essentials of Python scripting to a foundation level. You’ll learn the basics of writing and running Python scripts to more advanced features such as file operations, regular expressions, working with binary data, and using the extensive functionality of Python modules. Extra emphasis is placed on features unique to Python, such as tuples, array slices, and output formatting.

 

 

Destinatários

Professionals who are new to Python and scripting.

Programa

Module 1: An overview of Python

  • What is python?
  • Python Timeline
  • Advantages/Disadvantages of Python
  • Getting help with pydoc

Module 2: The Python Environment

  • Starting Python
  • Using the interpreter
  • Running a Python script
  • Python scripts on Unix/Windows
  • Editors and IDEs

Module 3: Getting Started

  • Using variables
  • Built-in functions
  • Strings
  • Numbers
  • Converting among types
  • Writing to the screen
  • Command line parameters

Module 4: Flow Control

  • About flow control
  • White space
  • Conditional expressions
  • Relational and Boolean operators
  • While loops
  • Alternate loop exits

Module 5: Array types

  • About array types (AKA sequences)
  • Lists and list methods
  • Tuples
  • Indexing and slicing
  • Iterating through a sequence
  • Nested sequences
  • Sequence functions, keywords, and operators
  • List comprehensions
  • Generator Expressions

Module 6: Working with files

  • File overview
  • Opening a text file
  • Reading a text file
  • Writing to a text file

Module 7: Dictionaries and Sets

  • About dictionaries
  • Creating dictionaries
  • Iterating through a dictionary
  • About sets
  • Creating sets
  • Working with sets

Module 8: Functions

  • Defining functions
  • Returning values
  • Parameters
  • Global and local scope

Module 9: Sorting

  • The sorted() function
  • Alternate keys
  • Lambda functions
  • Sorting collections
  • Using operator.itemgetter()
  • Reverse sorting

Module 10: Errors and Exception Handling

  • Syntax errors
  • Exceptions
  • Using try/catch
  • Handling multiple exceptions
  • Ignoring exceptions

Module 11: Modules and Packages

  • The import statement
  • Module search path
  • Creating Modules
  • Using packages
  • Function and Module aliases

Module 12: Classes

  • About o-o programming
  • Defining classes
  • Constructors
  • Methods
  • Instance data
  • Properties
  • Class methods and data

Pré-requisitos

  • Basic familiarity with any programming or scripting language
  • Have a working, user-level knowledge of Unix/Linux, Mac, or Windows

Outras datas

07/03/2022 a 10/03/2022

03/05/2022 a 06/05/2022