4646 подписчиков
72 видео
Python interpreter basics in the Jupyter Notebook terminal window
Exception propagation in Python: where should errors be handled?
Hello World in a .py Python file, run in the Jupyter Notebook terminal
List comprehensions: a quick way to create lists in Python
Using a while loop and an accumulator variable to sum an unknown number of inputs
If- elif - else and unreachable code (keep your Python away from this trap!)
Using Jupyter Notebooks (a great environment for learning, data science and AI in Python)
The "for" loop in Python: an introduction
Introducing Python lists (the most commonly used data structure)
The "if" keyword in list comprehensions (vs the normal if - else)
Sums and products in Python (arithmetic operators)
Introduction to file I/O in Python: opening files, closing them, and the readlines function
The try-except clause in Python: handling runtime errors in your code (and preventing crashes)
File I/O in Python: looping over the file handle (it's an iterable!)
Constructors in Python objects: the __init__ method
Local variables: Python functions define a scope for variables
How to copy Python lists: avoid a common pitfall
Python classes, object instances, methods, and the self parameter in Python
Basic quantifiers for regular expressions in Python
File I/O in Python: the readline function (reading text files one line at a time)
A 2300yo algorithm in Python: Euclid's algorithm for the greatest common divisor of two numbers
Reading a CSV file in Python using the "csv" module's "reader" object
Regular expressions in Python: a simple example
Matrix Product in Pure Python using Nested Loops and Comprehensions [with code]
Handling Python lists: methods for adding and retrieving elements (and sorting, reversing, etc)
Returning multiple values from a Python function using tuples: more on the protein charge function
Accessing list elements: indexing and slicing in Python.
Hello World! [Run-in-Browser Python Course]
How to import a whole module in Python and access its contents
Inverting a Python dictionary with zip(): swapping keys and values
Regular expression operators in Python: match, search, findall and finditer
Importing individual functions and using aliases for Python modules