Development, testing & web - Develop Python Object-Oriented Programming Certification from API Society
A practical course focused on Develop Python Object-Oriented Programming Certification from API Society. Participants build skills across three priorities: Introduction, Immutable data types, Mutable data types.
Detailed programme
Introduction
- History (author, date of first version).
- Python versions (branches 2 and 3).
- Language characteristics (multiparadigm, strong dynamic typing, clear syntax).
- Overview of the standard library.
- Extension modules and pip control.
- Interpreter operating principle (bytecode PYC).
- Official interpreter CPython and other interpreters (micropython, brython, pypy, numba.
- Resources (python.org website, access to documentation).
- Help() function and documentary channels.
- Principle of indentation to delimit the instruction blocks.
- Commentary.
- Keywords reserved.
- Naming conventions.
- Interactive interpreter.
- Autonomous programme.
- Basic integrated functions: print(), type(), input(), len().
Immutable data types
- Utility of non-modifiable types (memory optimization), id() and hash() functions, operator is.
- Principle of ordered sequences (str, tuple and list) and collections (dict, set).
- Boolean (bool), True and False objects.
- Number (int, float, complex), constructors, operators >>, <<,..., &, ^, //, % and **.
- Exponential, binary, octal and hexadecimal notations, hex(), oct(), bin(), chr(), ord().
- Unicode string (str), definition with simple and double quotes, multi-line strings, raw mode.
- Positive and negative indication, slice of values (slice), operators +, * and in, iteration.
- Inescapable methods of str: split(), replace(), lower(), upper(), strip(), join().
- Formatted string (%s, %d, %f), format() and f-string method.
- Variable depacking principle.
- Bytes table (bytes), manufacturer.
- Tuple (tuple), constructor, indication, iteration, operators +, * and in, count() methods and index().
- Purpose None and function rep().
Mutable data types
- Lists (list), constructor, indication, integration, operators +, * and in.
- Methods append(), insert(), function del(), methods sort(), reverse(), remove(), extend(), pop(), clear().
- Pointer handling, superficial copying via copy() method or indication [:].
- Deep copying study with the copycopy() function of the copy module.
- Function outd.
- Principle of operation of itable objects.
- Functions returned() and range().
- Dictionaries (dict), constructor, indication, operator in, function del().
- Pointer handling, superficial copying via copy() method; Deep copying analysis with copycopy() function of the copy module.
- Set (set), constructor, operators - & & & ^.
Conditional structures and repetitive structures
- Conditional structure if... elif... else.
- Ternary operator and walrus.
- Repetitive structure while.
- Repetitive structure for.
- Instructions break and continue.
- Enumerate function.
- Block else on repetitive structure.
- Intension list (comprehension list), intension dictionary (comprehension dict).
Functions, modules, and packages
- Definition and call of a function.
- Local, global, predefined namespace ( buildins ) and dir() function.
- Return values, return instruction.
- Generic functions (duck typing).
- Default values.
- Switching by tag.
- Number of arbitrary arguments (*args, **kwargs).
- Anonymous functions (lambda).
- Functions eval(), exec(), map() and filter().
- Import of modules.
- Creating a module.
- Block if name == '' main ''.
- Importing packages.
- Create a package ( init .py).
- Instruction yield.
File manipulation
- Open() function and close() method.
- Methods readline() and readlines().
- Iterable object.
- Instruction with files.
- Methods read() and write().
- Methods tell() and seek().
- Method writelines().
- Complementary modules: struct, csv, json, xml.
- Serialization with the pickle module.
- Serialization with the shelve module.
Object-Oriented Programming
- Basic concepts of POO (separation of code, encapsulation, inheritance).
- Concepts of object class, object (instance), attribute and method.
- Definition of an object class.
- Instantization of objects, function is instance().
- Manufacturer ( init ).
- Attributes and methods.
- The self parameter.
- Display overload ( str ).
- Overload of operators ( eq , add ).
- Property (special property function), accessor and mutator.
- Global name spaces, object, class.
- Class variable.
- Constructor with many arbitrary arguments (*args, **kwargs).
- Aggregation / Composition.
- Class inheritance (generalization), outputbclass(), super() and mro() functions.
Exceptions
- Operating principle.
- Predefined exceptions and heritage tree.
- Instructions try... except... else... finally.
- Propagation of exceptions.
- Triggering exceptions.
- Definition of an exception.
Standard library modules
- Interaction with the interpreter: sys module.
- Interaction with the operating system: bone and pathlib modules.
- Interaction with the file system: os.path module.
- Rational expressions: module re, search(), match(), split() and sub().
- Unit tests: Assert instruction, Unitest module.
- Overview of standard library modules:datetime, math, timeit, urllib, collections, csv, json, sqlite3.
- Presentation of datetime, subprocess, shutil, collections, timeit, urllib, sqlite3...
Tell us about your project
Our offices
- Exceev Consulting
61 Rue de Lyon
75012, Paris, France - Exceev Technology
332 Bd Brahim Roudani
20330, Casablanca, Morocco