Key Information

Tutors: Dr Christopher Cooling 
Course Level: Level 2 
Course Credit: 1 credit 
Prerequisites: Basic knowledge of Python is essential. Ideally an attendee will have used Python intensively for at least three months prior to attending this course. Python users who are already familiar with object-oriented coding will gain less from this course as it is primarily aimed at those learning about these features for the first time.  
Duration: 3x 2 hour sessions 
Format: Live online or live face to face with hands on practice 

Python, like many other modern coding languages, is at its heart “object-oriented”. To use Python to its fullest requires the use of its object-oriented features. These features allow for greater modularity, easier troubleshooting, greater reuse of code and a greater flexibility and utility of a given section of code.  This course combines a discussion of the principles of object-oriented coding with implementation details and syntax specific to Python.

Syllabus:

  • Types and Objects
  • My First Class
  • Class Members in Detail
  • Magic Methods
  • Properties
  • Inheritance
  • Polymorphism
  • Object-oriented code design principles
  • An extended exercise

The course will be delivered through a combination of slides, demonstrations and hands-on practicals.

Learning Outcomes:

After completing this workshop, you will be better able to:

  • Define objects and classes in relation to Python
  • Use key object-oriented features of Python
  • Create classes tailored to the task they are to perform
  • Utilise object-oriented strategies to plan and develop research codes


Dates & Booking Information

DateTimePlatform/Venue
Tuesday 23 November 2021 (Part 1)
Thursday 25 November 2021 (Part 2) &
Friday 26 November 2021 (Part 3)
13:00-15:00
13:00-15:00
13:00-15:00
Microsoft Teams
Tuesday 18 January 2022 (Part 1)
Thursday 20 January 2022 (Part 2) &
Friday 21 January 2022 (Part 3)
13:00-15:00
13:00-15:00
13:00-15:00
Microsoft Teams
Tuesday 15 March 2022 (Part 1)
Thursday 17 March 2022 (Part 2) &
Friday 18 March 2022 (Part 3)
10:00-12:00
10:00-12:00
10:00-12:00
South Kensington (Face-to-Face)
Tuesday 03 May 2022 (Part 1)
Thursday 05 May 2022 (Part 2) &
Friday 06 May 2022 (Part 3) 
15:00-17:00
15:00-17:00
15:00-17:00
South Kensington (Face-to-Face)
Monday 06 June 2022 (Part 1)
Wednesday 08 June 2022 (Part 2) &
Friday 10 June 2022 (Part 3)
10:00-12:00
10:00-12:00
10:00-12:00
Microsoft Teams
Summary of the table's contents

Please select a date and book on via Inkpath using your Imperial Single-Sign-On.