English French German Italian Portuguese Russian Spanish

logo_old

  • Programming Training

    business_appsInterSource offers live instructor-led courses on all important programming technologies, including C#, C/C#, PHP and Visual Basic. We can also arrange training on many less-known but highly useful languages. We can teach courses on a variety of additional topics; please request an offer if you need a course which is not indicated on the site.

    These live classes are offered both on client sites, at our Geneva training center, and via a Web interface.

  • About Programming

    Within software engineering, programming (the implementation) is regarded as one phase in a software development process, normally following closely on the heels of the requirements gathering phase.

    Computer programming (often shortened to programming or coding) is the process of writing, testing, debugging/troubleshooting, and maintaining the source code of computer programs. This source code is written in a programming language. The code may be a modification of an existing source or something completely new. The purpose of programming is to create a program that exhibits a certain desired behavior (customization). The process of writing source code often requires expertise in many different subjects, including knowledge of the application domain, specialized algorithms and formal logic.


    Read More
  • Course Details Programming

    Classes are offered at client sites, at our Geneva training center, and via a live web conference. For detailed course outlines and scheduled classes, please see below.

    To book training, navigate to the course you need, then:

    • For scheduled online classes, register from the choices indicated.
    • If you need an alternative date, time or location, or if you want a live classroom course, click on “request an offer for this course,” to complete the form.

Introduction to Python Training

 PDF PrintEmail

Course duration

  • 4 Days

Course Outline

In this Python training course, students learn to program in Python. The course is aimed at students new to the language who may or may not have experience with other programming languages.

This Python course is taught using Python 3; however, differences between Python 2 and Python 3 are noted. For private Python classes, our instructor can focus specifically on Python 2 if desired.

  • Learn how Python works and what it's good for.
  • Understand Python's place in the world of programming languages.
  • Learn to work with and manipulate strings in Python.
  • Learn to perform math operations with Python.
  • Learn to work with Python sequences: lists, arrays, dictionaries, and sets.
  • Learn to collect user input and output results.
  • Learn flow control processing in Python.
  • Learn to write to and read from files using Python.
  • Learn to write functions in Python.
  • Learn to handle exceptions in Python.
  • Learn to work with dates and times in Python.
  • Some programming experience.
  1. Python Basics
    1. Running Python
      1. Python Interpreter in Interactive Mode
      2. IDLE
      3. Commercial and Free Python IDEs
    2. Hello, World!
    3. Literals
    4. Python Comments
    5. Data Types
    6. Variables
      1. Variable Names
      2. Variable Assignment
      3. Simultaneous Assignment
      4. Constants
      5. Deleting Variables
    7. Writing a Python Module
      1. The main() Function
    8. print() Function
    9. Named Arguments
    10. Collecting User Input
    11. Getting Help
  2. Functions and Modules
    1. Defining Functions
    2. Variable Scope
    3. Global Variables
    4. Function Parameters
      1. Using Parameter Names in Function Calls
      2. Default Values
    5. Returning Values
    6. Importing Modules
      1. Module Search Path
      2. pyc Files
  3. Math
    1. Arithmetic Operators
    2. Modulus and Floor Division
    3. Assignment Operators
      1. Order of Operations
    4. Built-in Math Functions
    5. The math Module
    6. The random Module
    7. Seeding
  4. Python Strings
    1. Quotation Marks and Special Characters
      1. Escaping Characters
      2. Triple Quotes
    2. String Indexing
    3. Slicing Strings
    4. Concatenation and Repetition
    5. Common String Methods
    6. String Formatting
      1. Format Specification
      2. Long Lines of Code
    7. Built-in String Functions
  5. Iterables: Sequences, Dictionaries, and Sets
    1. Definitions
    2. Sequences
      1. Lists
      2. Deleting List Elements
      3. Sequences and Random
      4. Tuples
        1. The Immutability of Tuples
      5. Lists vs. Tuples
      6. Ranges
      7. Indexing and Slicing
      8. Converting Sequences to Strings with str.join(seq)
      9. Splitting Strings into Lists
    3. Unpacking Sequences
    4. Dictionaries
      1. The update() Method
      2. The setdefault() Method
      3. Dictionary View Objects
      4. Deleting Dictionary Keys
    5. The len() Function
    6. Sets
  6. Flow Control
    1. Conditional Statements
    2. The is and is not Operators
    3. Python's Ternary Operator
    4. Loops in Python
      1. while Loops
      2. for Loops
      3. break and continue
      4. The else Clause
    5. The enumerate() Function
    6. Generators
      1. The next() Function
    7. List Comprehensions
    8. *args and **kwargs
  7. File Processing
    1. Opening Files
      1. Methods of File Objects
    2. The os and os.path Modules
  8. Exception Handling
    1. Wildcard except Clauses
    2. Getting Information on Exceptions
    3. The else Clause
    4. The finally Clause
    5. Using Exceptions for Flow Control
    6. Exception Hierarchy
  9. Dates and Times
    1. Understanding Time
    2. The time Module
    3. The datetime Module

InterSource Geneva, a premier Information Technology training firm, offers over 400 different courses on server, database and programming technologies, as well as end-user classes for the most popular office, graphics and design applications. We serve clients in Switzerland (Geneva, Lausanne, Bern, Basel, Zurich) and throughout Europe (France, Germany, Austria, Finland, Sweden, England, Netherlands, Spain, etc.).


InterSource offers custom, private courses at client sites, standard public courses in our Geneva classroom, and online training via live Web conference. Training is offered in English and many other languages (Francais, Deutsch, Espanol, Italiano.)


For an overall view of our offerings, please visit us at www.intersource.ch.