
Explore how to use Jupyter Notebook for interactive code and notes, navigate edit and command modes, create code and markdown cells, add comments, and leverage shortcuts and formatting.
Show how assigning None to a variable creates an empty object in Python, and verify its empty state by calling type on the variable.
Explore Python int, float, and complex numbers, use type() checks, and practice binary, octal, and hex literals (0b, 0o, 0x) with floating point precision and decimal module.
explore Python's built-in functions, including abs for absolute value, round for decimal precision, min and max for extrema, and ord for ascii codes.
Explore methods and functions for lists in python, including sorting with sorted versus in-place sort, reversing, and lexicographic comparisons; compute sums, locate indices, and count occurrences, noting tuple differences.
Learn about Python sets as unordered, unique-key collections and how to create them with curly braces or from lists; perform add, discard, union, intersection, difference, and subset checks.
Create and move through sequence elements with iterators using next, handle the stop iteration exception when exhausted, and use reversed, enumerate, and zip to index and pair items.
Learn to use for loops in Python to iterate over strings, lists, and dictionaries, using range and enumerate, print elements, and avoid infinite loops.
Learn how the Python while loop works, including infinite loops, using a counter variable, evaluating a < 15, updating the value each iteration, and avoiding endless execution.
Learn to read user input with input, convert to integers, and print formatted output using both string formatting and percent notation in Python.
Learn to create and use your own Python functions to reuse code, handle inputs, and control flow with loops, conditions, decorators, and polymorphism, paving the way for project work.
Learn how functions organize instructions into reusable blocks, executable repeatedly or in other programs, and how doc strings, placed at the beginning, describe the operation, arguments, and return or print.
Create your own Python modules by structuring code with a module docstring, imports, variables, and functions, then use Sublime Text to save and import the module in Jupyter.
Discover object-oriented programming in Python by defining classes, creating objects and instances, and applying inheritance and encapsulation to build advanced projects.
Learn to connect Python to a MySchool database using the connector, install in an anaconda environment, and run queries to explore books and ratings.
Finish your Python introduction to programming by solving problems on your own, creating your own projects, and expanding your knowledge within the community.
This course is designed for people who have not had contact with the Python language and want to join the programming world. The course structure helps you to understand everything you need to know to get started. We will discuss both the theory and practice (code that we will create ourselves). There will be also many tips and hints to help you understand the discussed concepts. The course starts with an introduction to the Python language (the differences between versions 2 and 3, how to use Python from the console and Jupyter Notebook or conventions and naming). On the first programming classes, you'll learn the scalars and sequential types of Python objects, along with their methods, arithmetic, indexing rules, and the operations you can perform on them. We will close the topic on object types with dictionaries and sets. Next large block of material will be the flow control, that is logical instructions, where you will learn the rules for creating and operating on conditions, loops, comprehension expressions or matrices (creating loops in other loops). The next will be the topic of functions. You will learn to write your own code blocks that execute series of instructions, how to get from and return values to the user, what is polymorphism, recursion or decorators. The whole block will end with object-oriented programming, its principles and method of working with classes, their fields and methods. In the last section of the course you will find the topics that can help you with your own further projects, that is: how to handle text and CSV files, how to combine Python code with a database written in MySQL, or how to create and use a regular expression. At the beginning we will keep the code simple, but with time as your knowledge will increase, the code will grow. For each material, you will also find a text notes that will summarize the discussed knowledge. In addition, in each section you will find the exercises (on different difficulty levels) that will allow you to test your new skills and knowledge. If you want to learn programming in Python check the curriculum of the course and preview materials. And see you soon inside the course!