Introduction to Python: From Zero to Classes
-
The Course
Meet the Instructors -
Introduction to the Course
-
IntroductionWhy Python?1 Quiz
-
Introduction to IDEs1 Quiz
-
Introduction to Colab1 Quiz
-
Important ConceptsProgram/Script1 Quiz
-
Variable1 Quiz
-
Bug1 Quiz
-
Design Philosophy
-
Interpreted Language1 Quiz
-
Dynamic Typing1 Quiz
-
Dynamic Typing - practical1 Quiz
-
Indentation to define blocks1 Quiz
-
Indentation - practical1 Quiz
-
Object-Oriented Programming1 Quiz
-
Object-Oriented - practical1 Quiz
-
Important Concepts - recap
-
Basic SyntaxData Types1 Quiz
-
Arithmetic Operators1 Quiz
-
Comparison Operators1 Quiz
-
Logical Operators1 Quiz
-
Assignment Operators1 Quiz
-
Membership & Identity Operators1 Quiz
-
Basic Data StructureLists1 Quiz
-
Lists - practical1 Quiz
-
Tuples1 Quiz
-
Tuples - practical1 Quiz
-
Dictionaries1 Quiz
-
Dictionaries - practical1 Quiz
-
Control FlowConditionals1 Quiz
-
Conditionals - practical1 Quiz
-
Loops1 Quiz
-
Loops: "for" - practical1 Quiz
-
Loops: "while" - practical1 Quiz
-
Tools1 Quiz
-
Tools - practical1 Quiz
-
FunctionsWhy do we use functions?1 Quiz
-
User-defined Functions1 Quiz
-
Naming Conventions1 Quiz
-
Pre-defined functions - practical1 Quiz
-
User-defined Functions - practical: 3 basic examples1 Quiz
-
User-defined Functions - practical: Moments of Inertia
-
User-defined Functions - practical: Total Drag Force
-
User-defined Functions - practical: Reynolds Number
-
User-defined Functions - practical: Buoyant Force
-
User-defined Functions - practical: Total Resistance
-
User-defined Functions - practical: Skin Friction Coefficient
-
User-defined Functions - practical: Hull Speed
-
Basic File HandlingIntroduction to Basic File Handling1 Quiz
-
Basic File Handling - practical1 Quiz
-
ClassesWhat is a Class?1 Quiz
-
Why do we use Classes?1 Quiz
-
Anatomy of a Class1 Quiz
-
Naming Conventions1 Quiz
-
Class Objects1 Quiz
-
Instance Objects1 Quiz
-
Instance Methods1 Quiz
-
Class Recap
-
Classes - practical: General1 Quiz
-
Classes - practical: Dataset without Classes
-
Classes - practical: Dataset with Classes1 Quiz
-
Packages and ModulesModules: what are they and how do you create and import them?1 Quiz
-
How do we share the data and code?1 Quiz
-
Accessing Google Drive from Google Colab1 Quiz
-
Modules - practical1 Quiz
-
Packages: what are they and how do you create and import them?1 Quiz
-
Packages - practical: General1 Quiz
-
Packages - practical: Naval Engineering job
-
Python Standard Library1 Quiz
-
Python Standard Library - practical1 Quiz
-
Popular Packages1 Quiz
-
Popular Packages - practical: Numpy, Matplotlib1 Quiz
-
Popular Packages - practical: SciPy, SymPy, Pytorch1 Quiz
-
Final Assignment - Capstone ProjectFinal Assignment (mandatory)
-
Exercise 1
-
Exercise 2
-
Exercise 3
-
Exercises 4 and 5
-
Course MaterialsCourse Materials
-
Course SurveyCourse Evaluation Survey1 Quiz
-
SummaryWrap-up
Meet the Instructors
Hello and welcome!
We are three PhD students from Universidad Politécnica de Madrid (Polytechnic University of Madrid).
My name is Javier Capel. I’m an aeronautical engineer from Universidad Politécnica de Madrid. My work involves computational methods, specifically computational fluid dynamics. As part of my thesis, I’m working on enhancing turbulence models using machine learning tools, all powered by Python.
My name is Antonio Medina. I’m a naval architect from Universidad Politécnica de Madrid. My expertise lies in experimental campaigns and data processing, particularly in floating systems. I develop various applications to compute the results of experimental campaigns. I use Python daily for my PhD, where I apply machine learning tools to predict the response of floating offshore wind turbines.
Hi, I’m Andrés Pastor Sánchez, also a naval architect from Universidad Politécnica de Madrid. I’m passionate about Python programming. I’ve been working on developing some Python libraries, and my thesis is about creating a digital twin that involves machine-learning models to enhance predictions and simulations.
Together, we are excited to bring you our comprehensive Python programming course. It is designed for beginners and covers everything you need to start coding in Python.
We’ll begin with an introduction to Google Colab, a powerful and user-friendly online coding environment. We’ll then explore the popularity of Python, its basic syntax, and core data structures to learn about control flow, functions, classes, and file handling. You will also delve into models which are essential for organizing your code.
Finally, you will work on a Capstone project that utilizes a vast dataset of parametrized hull geometries. You will learn to manage big data and compute various quantities of interest, applying stability theory and fluid dynamics.
By the end of this course, you’ll have a solid foundation in Python programming and be ready to tackle more advanced topics.
We can’t wait to share our knowledge and help you in your journey to become a proficient Python programmer!
See you in the course! See you soon!