Python is a powerful and popular object-oriented scripting language. This course provides a comprehensive introduction to the core syntax and functions provided by Python, including full coverage of its object-oriented features. The course also explores some of Python's powerful APIs and techniques, including file handling, XML processing, object serialization, and Web services.
Modules in Solid Python:
Getting Started with Python
This module introduces Python. We'll start off by discussing what Python is and why it's used. Then we'll dive in and show how to install Python and start writing Python programs. As we'll show, Python is an interpreted language with dynamic data typing, which makes it ideal for rapid application development.
Python Language Fundamentals
This module takes a look at fundamental language issues in Python. We'll talk about how Python code is organized into modules and packages, and also discuss some of the simple built-in types (integers, floating point numbers, complex numbers, and strings) and operators (e.g. relational operators, boolean logic operators, and bitwise operators).
Python Flow Control
Defining and Calling Functions in Python
Data Structures in Python
Python has a standard set of data structures that allow you to organize the data in your Python application. We'll examine these data structures in this module. We begin with a look at sequence types, i.e. lists, tuples, and ranges. Next we examine sets and frozen sets, and investigate the use of set-based operations such as intersections, unions, and differences. Finally we look at dictionaries, and show various ways to manipulate keys and values.
Object-Oriented Programming in Python
In this module we start looking at how to write object-oriented Python code. We'll describe how to define classes, and then see how to create, initialize, and use objects. We also discuss some important related issues such as encapsulation and class-wide members.
Additional Object-Oriented Techniques in Python
This module explores some of the more advanced object-oriented language features in Python. We take a closer look at how to add and remove attributes in an object, and also show how to implement special methods such as constructors, destructors, and stringify methods. We conclude the module by showing how to implement inheritance hierarchies in Python.
XML Processing in Python
XML has become very important over the last decade. XML is text-based, which makes it easy for human readers to open an XML document and see what's going on. It's also reasonably self-describing - elements in an XML document have a name that identifies its semantic meaning. XML has an important role to play in Python. The Python APIs for processing XML are intuitive and quite high-level, certainly compared to APIs in some other languages. We'll take a thorough look during this module.
Web Processing in Python
This module explores the use of Python in a Web scenario. We show how to use Python to implement a Web server, and to implement Web sockets clients and servers.