Python Programming

מק"ט: #40829 | משך קורס: 40 שעות אק'
| מספר מפגשים: 5

Python is one of the largest growing programming languages in the world. While it is one of the easier languages to learn, it is still extremely powerful, and its applications are endless, from financial plot and data analysis, web development, machine learning and so on.
This training provides hands-on introductions to the Python Programming language. Throughout this course you will understand the language fundamentals and core concepts, as well as how to apply it to common programming tasks.

*שדות חובה
PDF version


  • Use the Python interactive interpreter to write and run Python 2 programs
  • Understand Python  language elements
  • Exploit the rich library of Python libraries and modules
  • Recognize simple and complex variable types and select appropriately
  • Use Python  operators and built-in functions
  • Understand procedural control flow in Python 
  • Program file input/output, including persistent data objects
  • Create well organized and efficient code using functions and modules
  • Use Object Oriented programming techniques in Python 
  • Build robust applications with error trapping and reporting

קהל יעד

This course is suitable to those who have some experience with scripting / programming in fields of QA, BI, DevOps, System and wish to enhance their skillset and learn the incredibly useful programming language of Python.


תנאי קדם


  • Some experience with scripting or programming: if you can explain what a variable is, write a loop, or define function in some language or script – this course is for you.
  • No previous knowledge of Python is assumed.
  • Candidates must be comfortable with reading and writing in English 


Chapter 1: Introduction to Python

  • What is Python?
  • Why Python?
  • The community
  • Running Python interactively
  • Python scripts
  • Python help
  • Anatomy of a Python script
  • Modules
  • Functions and built-ins

Chapter 2: Fundamental Variables

  • Python is Object Oriented
  • Python variables
  • Variable names
  • Type specific methods
  • Operators and type
  • Augmented assignments
  • Python types
  • Numeric types
  • Switching types
  • Python lists introduced
  • Python tuples introduced
  • Python dictionaries introduced

Chapter 3: Flow Control

  • Python conditionals
  • Indentation
  • What is truth?
  • Boolean and logical operators
  • Chained comparisons
  • Sequence and collection tests
  • Object types
  • A note on Exception Handling
  • While loops
  • Loop control statements
  • For loops
  • enumerate
  • Counting ‘for’ loops
  • Conditional expressions
  • Unconditional flow control

Chapter 4: String Handling

  • The print function
  • Cooking strings
  • String concatenation
  • “Quotes”
  • String methods
  • String tests
  • String formatting
  • Other string formatting aids
  • Slicing a string
  • String methods – split and join

Chapter 5: Collections

  • Python types – reminder
  • Useful tuple operations
  • Python lists
  • Tuple & list slicing
  • Adding items to a list
  • Removing items by position
  • Removing list items by content
  • Sorting
  • Miscellaneous list methods
  • List methods
  • Sets
  • Exploiting sets
  • Set operators
  • Python dictionaries
  • Dictionary values
  • Removing items from a dictionary
  • Dictionary methods

Chapter 6: Data Storage and File Handling

  • New file objects
  • Reading files into Python
  • Reading tricks
  • Filter programs – fileinput module
  • Writing to files from Python

Chapter 7: Functions

  • Python functions
  • Function parameters
  • Assigning default values to parameters
  • Variadic functions
  • Keyword parameters
  • Returning objects from a function
  • Variables in functions
  • Nested functions
  • Function documentation
  • Lamdba functions
  • Lambda as a sort key
  • Lambda in re.sub

Chapter 8: Advanced Collections

  • List comprehensions
  • Lazy lists
  • List comprehensions as generators

Chapter 9: Modules and Packages

  • What are modules?
  • What are packages?
  • Multiple source files
  • How does Python find a module?
  • Importing a module
  • Importing names
  • Directories as packages
  • Writing a module
  • Module documentation
  • Testing a module
  • Python debugger

Chapter 10: Introduction to Classes and OOP

  • Object-Oriented Programming
  • Using objects
  • A simple class

Chapter 11: Error Handling and Exceptions

  • Writing to stderr
  • Controlling warnings
  • Exception handling
  • Exception syntax
  • Multiple exceptions
  • Exception arguments
  • The finally block
  • Order of execution
  • The Python exception hierarchy
  • A common mistake
  • The raise statement
  • Raising our own Exceptions
  • assert