0% found this document useful (0 votes)
228 views

AD-141 Introduction To Python Programming: Duration: 4 Days

This 4-day hands-on Python programming course covers basic to advanced Python concepts through lecture, demos, activities and comprehensive labs. Topics include syntax, flow control, collections, functions, modules, classes, exceptions, input/output, data structures, regular expressions, JSON, and debugging. Students will learn to write Python programs utilizing these language features and libraries. The course concludes with assessments to evaluate students' comprehension of the material.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
228 views

AD-141 Introduction To Python Programming: Duration: 4 Days

This 4-day hands-on Python programming course covers basic to advanced Python concepts through lecture, demos, activities and comprehensive labs. Topics include syntax, flow control, collections, functions, modules, classes, exceptions, input/output, data structures, regular expressions, JSON, and debugging. Students will learn to write Python programs utilizing these language features and libraries. The course concludes with assessments to evaluate students' comprehension of the material.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

AD-141 Introduction to Python Programming

Duration: 4 Days

Hands-On Format: This hands-on class is 90/10 lab to lecture ratio, combining engaging lecture, demos, group
activities and discussions with comprehensive machine-based practical programming labs.

Preface A: Introduction
Section A.1: Orientation to the Classroom Environment

Chapter 1: Basic Python Syntax

• Use correct Python syntax in Python programs.


• Use basic Python input and output functions properly.
• Write Python programs using the standard numeric data types and their operators.
• Use strings and their methods in Python programs.
• Convert between numeric and string data types.

Chapter 2: Language Components

• Use the indenting requirements of Python properly.


• Use the Python control flow constructs correctly.
• Understand and use Python’s various relational and logical operators.
• Use if statements to make decisions within the Python code.
• Use while and for loops to perform repetitive operations.

Chapter 3: Collections

• Write Python programs by using the various Python collection types.


• Use lists to store and manipulate ordered collections of objects.
• Use tuples to store and retrieve immutable collections of objects.
• Use sets to store and manipulate unordered collections of unique objects.
• Use dictionaries to perform quick lookups on collections of objects.
• Sort the various collection data types in a variety of ways.

Chapter 4: Functions

• Define and use custom functions within a Python program.


• Define functions that allow passing of named and optional arguments.
• Define and use functions that allow a variable number of arguments.
• Understand access the various scopes of variables within a Python application.
• Pass references to functions the same way references to other objects are used.
• Use the map and filter datatypes to apply a function to iterable objects.
• Understand and use nested functions and lambdas.
• Define and use recursive functions.

Chapter 5: Modules
• Use modules to hold Python definitions and statements.
• Define and access modules from other modules.
• Use the dir function to list available symbols with a module’s global scope.
• Check the index of Python standard library modules for modules that may be helpful.
• Understand and use the various properties and functions of Python’s sys module.
• Write programs that use various numeric and mathematical modules from Python’s standard
library.
• Write programs that use the various date and time modules from Python’s standard library.

Chapter 6: Classes in Python

• Understand the basic principles of an object-oriented programming language.


• Use the class keyword to define custom data types.
• Use properties and decorators as a Pythonic way of writing classes.
• Use Python’s special methods within a class definition to accomplish standard tasks.
• Use class variables as a way of providing shared access to instances of a class.
• Understand inheritance and polymorphism to take simplify class creation.
• Use various built-in functions to obtain information about the relationship between data types.

Chapter 7: Exceptions

• Understand and use the Python exception model.


• Use try and except as the basic exception handling clauses in Python.
• Understand and use various exceptions in the exception hierarchy.
• Raise exceptions within your code as indicators of errors happening when executing the code.
• Create and use user-defined exceptions within your code.
• Understand the assert keyword and its benefits when writing your code.

Chapter 8: Input and Output

• Use Python’s additional I/O capabilities beyond the input and print functions.
• Create and use data streams to read and write to files.
• Read and write to text files.
• Use bytes and bytearray data types to read and write binary files.
• Use the seek and tell methods to randomly access the stream contents.
• Use the os and os.path modules to work with files and directories.

Chapter 9: Data Structures

• Use list comprehensions as an alternative and concise way of creating lists.


• Use dictionary comprehensions as an alternative and concise way of creating dictionaries.
• Understand and use generators to retrieve large amounts of data without the overhead of storing
the data.
• Use generator expressions as an alternative and concise way of creating generators.
• Use the zip datatype to process parallel collections.

Chapter 10: Regular Expressions

• Use the re module to perform regular expression pattern matching.


• Understand and use character classes and quantifiers when building a regular expression.
• Use groups to apply quantifiers to a group within an expression.
• Use groups to capture and manipulate the text that a regular expression matches.
• Understand and use the various functions within the re module to operate on regular
expressions.

Chapter 11: JSON

• Understand what is JSON, and its syntax.


• Use the json module from the standard library to read and write JSON Data.

Chapter 12: Debugging

• Use the Python standard library’s pdb module to debug Python programs.
• Launch the debugger from an interactive Python shell.
• Learn and use the various debugger commands within the debugging process.
• Set breakpoints and evaluate the current context of the code being debugged.

Chapter 13: Assessments


Section 13.1: Assessments

Section 13.2: Summary

You might also like