Python Essentials – Part 2 (Intermediate)
This course is the second in a 2-course series that will prepare you for the PCAP: Certified Associate in Python Programming certification exam at a Pearson VUE Test Center.
The course picks up where Python Essentials – Part 1 leaves off. Its main goal is to teach you the skills related to the more advanced aspects of Python programming language syntax, semantics, and the runtime environment, as well as with general coding techniques and object-oriented programming (OOP).
The course is recommended for aspiring developers who are interested in pursuing careers connected with Software Development, and Security, Networking, and the Internet of Things (IoT).
You will learn
- Learn general coding techniques and best practices
- Learn to use object-oriented programming in Python
- Learn how to import and use Python modules
- Learn how to handle exceptions
- Learn how to process files
- Prepare for PCAP certification
Modules, packages, string and list methods, and exceptions
Python modules: their rationale, function, how to import them in different ways, and present the content of some standard modules provided by Python; the way in which modules are coupled together to make packages; the concept of an exception and Python’s implementation of exceptions, including the try-except instruction, with its applications, and the raise instruction; strings and their specific methods, together with their similarities and differences compared to lists;
OOP, exception handling, working with files
The fundamentals of OOP (Object Oriented Programming) and the way they are adopted in Python, showing the difference between OOP and the classical, procedural approach; the standard objective features: inheritance, abstraction, encapsulation, and polymorphism, along with Python-specific issues like instance vs. class variables, and Python’s implementation of inheritance; objective nature of exceptions; Python’s generators (the yield instruction) and closures (the lambda keyword); the means Python developers can use to process (create, read, and write) files.