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.

Advanced Python 3 Training

PDF Print Email

Course duration

  • 2 days

Course Benefits

  • Lambda functions.
  • Advanced list comprehensions.
  • The collections module.
  • Mapping and filtering.
  • Sorting sequences.
  • Unpacking sequences in function calls.
  • Modules and packages.
  • Understanding regular expressions.
  • Python's re module.
  • Data stored in a relational database.
  • Data stored in a CSV file.
  • Data from a web page.
  • HTML, XML, and JSON.
  • Accessing an API.
  • Testing performance with timers and the timeit module.
  • The unittest module.
  • Classes and objects in Python.
  • Instance methods, class methods, and static methods.
  • Properties.
  • Decorators.
  • Subclasses and inheritance.
Available Delivery Methods
Private Class
Private classes are delivered for groups at your offices or a location of your choice.
Self-Paced
Learn at your own pace with 24/7 access to an On-Demand course.

Course Outline

  1. Advanced Python Concepts
    1. Lambda Functions
    2. Advanced List Comprehensions
    3. Exercise: Rolling Five Dice
    4. Collections Module
    5. Exercise: Creating a defaultdict
    6. Counters
    7. Exercise: Creating a Counter
    8. Mapping and Filtering
    9. Mutable and Immutable Built-in Objects
    10. Sorting
    11. Exercise: Converting list.sort() to sorted(iterable)
    12. Sorting Sequences of Sequences
    13. Creating a Dictionary from Two Sequences
    14. Unpacking Sequences in Function Calls
    15. Exercise: Converting a String to a datetime.date Object
    16. Modules and Packages
  2. Regular Expressions
    1. Regular Expression Tester
    2. Regular Expression Syntax
    3. Python's Handling of Regular Expressions
    4. Exercise: Green Glass Door
  3. Working with Data
    1. Virtual Environment
    2. Relational Databases
    3. Passing Parameters
    4. SQLite
    5. Exercise: Querying a SQLite Database
    6. SQLite Database in Memory
    7. Exercise: Inserting File Data into a Database
    8. Drivers for Other Databases
    9. CSV
    10. Exercise: Finding Data in a CSV File
    11. Creating a New CSV File
    12. Exercise: Creating a CSV with DictWriter
    13. Getting Data from the Web
    14. Exercise: HTML Scraping
    15. XML
    16. JSON
    17. Exercise: JSON Home Runs
  4. Testing and Debugging
    1. Testing for Performance
    2. Exercise: Comparing Times to Execute
    3. The unittest Module
    4. Exercise: Fixing Functions
    5. Special unittest.TestCase Methods
  5. Classes and Objects
    1. Attributes
    2. Behaviors
    3. Classes vs. Objects
    4. Attributes and Methods
    5. Exercise: Adding a roll() Method to Die
    6. Private Attributes
    7. Properties
    8. Exercise: Properties
    9. Objects that Track their Own History
    10. Documenting Classes
    11. Exercise: Documenting the Die Class
    12. Inheritance
    13. Exercise: Extending the Die Class
    14. Extending a Class Method
    15. Exercise: Extending the roll() Method
    16. Static Methods
    17. Class Attributes and Methods
    18. Abstract Classes and Methods
    19. Understanding Decorators

Class Materials

Each student will receive a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following is required for this Python class:

  • Basic Python programming experience. In particular, you should be very comfortable with:
    1. Working with strings.
    2. Working with lists, tuples and dictionaries.
    3. Loops and conditionals.
    4. Writing your own functions.

Experience in the following would be useful for this Python class:

  • Some exposure to HTML, XML, JSON, and SQL.
Prerequisite Courses

Courses that can help you meet these prerequisites:

Follow-on Courses
Since its founding in 1995, InterSource has been providing high quality and highly customized training solutions to clients worldwide. With over 500 course titles constantly updated and numerous course customization and creation possibilities, we have the capability to meet your I.T. training needs.
Instructor-led courses are offered via a live Web connection, at client sites throughout Europe, and at our Geneva Training Center.
Facebook TwitterGoogle BookmarksLinkedin