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.

Python I: Essentials (3.X)

 PDF PrintEmail

Course duration

  • 4 Days

Course Outline

This Python training leads the student from the basics of writing and running Python 3 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.

This is a hands-on programming class. All concepts are reinforced by informal practice during the lecture followed by graduated lab exercises.

This course is appropriate for advanced users, system administrators and web site administrators who want to use Python to support their server installations, as well as anyone else who wants to automate or simplify common tasks with the use of Python scripts.

  • Learn the basics of Python.
  • Learn to work with numbers and strings in Python.
  • Learn to work create and use variables and work with Python's data structures.
  • Learn Python's flow control statements.
  • Learn to work with conditional expressions.
  • Learn to read input and produce output.
  • Learn to work with Python's Modules.
  • Learn about classes and object-oriented programming in Python.
  • Learn to work with Regular Expressions.
  • Learn to integrate your application with the file system.
  • Learn to handle errors and exceptions.
  • Students should already have a working, user-level knowledge of Unix/Linux, Mac, or Windows. While not required, basic skills with at least one other programming language will be helpful.
  1. An overview of Python
    1. What is Python?
    2. Python Timeline
    3. Advantages/Disadvantages of Python
    4. Getting help with pydoc
  2. The Python Environment
    1. Starting Python
    2. Using the interpreter
    3. Running a Python script
    4. Python scripts on Unix/Windows
    5. Editors and IDEs
  3. Getting Started
    1. Using variables
    2. Builtin functions
    3. Strings
    4. Numbers
    5. Converting among types
    6. Writing to the screen
    7. Command line parameters
  4. Flow Control
    1. About flow control
    2. White space
    3. Conditional expressions
    4. Relational and Boolean operators
    5. While loops
    6. Alternate loop exits
  5. Sequences
    1. About sequences
    2. Lists and list methods
    3. Tuples
    4. Indexing and slicing
    5. Iterating through a sequence
    6. Sequence functions,keywords, and operators
    7. List comprehensions
    8. Nested sequences
  6. Working with files
    1. File overview
    2. Opening a text file
    3. Reading a text file
    4. Writing to a text file
    5. Screen output without formatting
    6. Raw (binary) data
  7. Dictionaries and Sets
    1. About dictionaries
    2. Creating dictionaries
    3. Iterating through a dictionary
    4. About sets
    5. Creating sets
    6. Working with sets
  8. Functions
    1. About sequences
    2. Function parameters
    3. Global variables
    4. Global scope
    5. Returning values
  9. Sorting
    1. The sorted() function
    2. Alternate keys
    3. Lambda functions
    4. Sorting collections
    5. Using operator.itemgetter()
    6. Reverse sorting
  10. Errors and Exception Handling
    1. Syntax errors
    2. Exceptions
    3. Using try/catch/else/finally
    4. Handling multiple exceptions
    5. Ignoring exceptions
  11. Using Modules
    1. The import statement
    2. Module search path
    3. Zipped libraries
    4. Creating Modules
    5. Function and Module aliases
  12. Regular Expressions
    1. RE syntax overview
    2. Basic patterns
    3. RE Objects
    4. Searching and matching
    5. Compilation flags
    6. Grouping
    7. Replacing text
    8. Splitting a string
  13. Using the Standard Library
    1. The sys module
    2. Launching external programs
    3. Walking directory trees
    4. Grabbing web pages
    5. Sending e-mail
    6. Paths, directories, and filenames
    7. Math functions
    8. Random numbers
    9. Dates and times
    10. Zipped archives
  14. An Introduction to Python classes
    1. About o-o programming
    2. Defining classes
    3. Constructors
    4. Instance methods
    5. Instance data
    6. Class methods and data
    7. Destructors
  15. Bonus Exercises

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.