course

Home / Courses / Introduction to Python Programming Basics (TTPS4800)

Course Objectives

This skills-focused course is about 50% hands-on lab to lecture ratio, combining expert lecture, real-world demonstrations and group discussions with machine-based practical labs and exercises. Working in a hands-on learning environment led by our expert instructor, you’ll learn how to:

  • Create working Python scripts following best practices Use python data types appropriately Read and write files with both text and binary data Search and replace text with regular expressions Work with with the standard library and its work
  • saving modules Create “real
  • world”, professional Python applications Know when to use collections such as lists, dictionaries, and sets Work with Pythonic features such as comprehensions and iterators Write robust code using exception handling

Agenda

  • What is Python?
  • Python timeline
  • Advantages/disadvantages
  • Installing Python
  • Getting help

  • Starting Python
  • Using the interpreter
  • Running a Python script
  • Editors and IDEs

  • Using variables
  • Builtin functions
  • String data
  • Numberic data
  • Converting types
  • Console input/output
  • Command line parameters

  • About flow control
  • The if statement
  • Relational and Boolean operators
  • while loops
  • Exiting from loops

  • About array types
  • Lists and list methods
  • Tuples
  • Indexing and slicing
  • Iterating through a sequence
  • Sequence functions, keywords, and operators
  • List comprehensions and generators

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

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

  • Defining functions
  • Returning values
  • Parameters and arguments
  • Variable scope

  • The sorted() function
  • Custom sort keys
  • Lambda functions
  • Sorting in reverse
  • Using min() and max()

  • Exceptions
  • Using try/catch/else/finally
  • Handling multiple exceptions
  • Ignoring exceptions

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

  • About object-oriented programming
  • Defining classes
  • Constructors
  • Understanding self
  • Properties
  • Instance Methods and data
  • Class methods and data
  • Inheritance
Tags
Technical Core Type: Core 4 Product Line: Other Technical Vendor: TriveraTech
FREE

Interested in course?


Course Type: Instructor Led