This course teaches the fundamental terms and definitions used in Python programming. Students can expect to cover Python’s logic and structure, as well as its use of keywords, instructions, indentation, literals, variables, numeral systems, operators and data types, I/O operations, and control flow mechanisms (conditional blocks and loops). The course also provides the basic knowledge required to understand built-in data collections such as lists, tuples, dictionaries, and strings, along with instruction in the essentials of Python programming language syntax, semantics, and the runtime environment.
2 hours a day, 6 days a week *
Location: American University in the Emirates
Learning Mode: Classroom *
* Final schedule and mode of offering subject to change.
- Direct cash and credit card payments at the Financial Affairs Department of American University in the Emirates
- Pre-requisite:There are no such prerequisites to learn Python but having a basic knowledge of mathematics would be beneficial.
- For more information about the course, contact:
- Understanding fundamental terms and definitions of Python language
- Interpreting notation, compilation and the compiler lexis, syntax, and semantics
- Different types of Python interpreters
- Python environments.
- Python’s logic and structure: keywords, instructions, indentation, comments
- Literals and variables into code and use different numeral systems: Boolean, integers, floating-point numbers, scientific notation, strings, binary, octal, decimal, and hexadecimal numeral systems, variables, naming conventions, implementing PEP-8 recommendations
- Operators and data types. Input/Output console operations
- Decisions and branch the flow with the «if»-like instruction: conditional statements: if, if-else, if elif, if-elif-else multiple conditional statements; nesting conditional statements
- Definite and indefinite cycles: the pass instruction; building loops with while, for, range(), and in; iterating through sequences; expanding loops with while-else and for-else; nesting loops and conditional statements; controlling loop execution with break and continue
- Processing data using lists: constructing vectors, indexing and slicing; the len() function. List methods: append(), insert(), index(). Functions: len(), sorted(); the del instruction. Iterating through lists with the for loop; initializing loops; the in and not in operators; list comprehensions; copying and cloning; lists in lists: matrices and cubes
- Processing data using tuples: indexing, slicing, building. Immutability tuples vs. lists: similarities and differences; lists inside tuples and tuples inside lists
- Processing data using dictionaries: building, indexing, adding and removing keys. Iterating through dictionaries and their keys and values, checking the existence of keys. Methods: keys(), items(), and values()
- String operations: constructing strings; indexing, slicing, immutability; escaping using the \ character; quotes and apostrophes inside strings; multi-line strings; basic string functions and methods
- Decompose the code using functions: defining and invoking user-defined functions and generators; the return keyword, returning results; the None keyword, recursion
- Interaction between the function and its environment: parameters vs. arguments, positional, keyword, and mixed argument passing; default parameter values, name scopes, name hiding (shadowing), and the global keyword
- Python Built-In Exceptions Hierarchy
- Basics of Python Exception Handling: try-except / the try-except Exception; ordering the except branches; propagating exceptions through function boundaries; delegating responsibility for handling exceptions
Dr. Muravyov Sergey Borisovich
Associate Professor of the Faculty of Information Technologies and Programming, ITMO University, St. Petersburg. Russia & Associate Professor of the School of Biological and Medical Physics. Moscow Institute of Physics and Technology (National Research University). Moscow, Russia.