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
Wrap-up
Congratulations!
You have successfully completed our Introduction to Python course, and we are incredibly proud of your progress!
We started with the basics, introducing you to Python and the Google Colab platform.
You learned essential concepts like variables, bugs, dynamic typing, and basic syntax.
You explored data types, operators, and data structures such as lists, tuples, and dictionaries.
You mastered control flow with conditionals and loops, making your code efficient and dynamic.
You also learned how to create and use predefined and user-defined functions to organize and reuse your code.
You learned to read from and write files, a crucial skill for managing data in real-world applications.
You dove into object-oriented programming, defining classes, and working with attributes and methods.
You understood the power of modules and packages, learning to create, import, and utilize them effectively.
We introduced you to popular Python libraries like NumPy, Pandas, Scipy, and Pytorch, expanding your toolkit for data analysis and machine learning.
Finally, you successfully managed and analyzed an extensive dataset of 10,000 parametrized hull geometries. You learned how to clean the dataset, analyze it, and extract valuable insights.
So what’s next?
Your new knowledge opens up a world of possibilities.
You could pursue a career in data science, automate tasks you have been doing manually, or even explore the fascinating world of machine learning, which is revolutionizing industries worldwide.
Our suggestion is to choose a project that excites you so you can put some time into what you have learned. There are countless resources, including databases such as Kaggle and codes from others on GitHub and GitLab. Set achievable goals, and you will enjoy a steady stream of victories to keep you motivated.
Now, more than ever, we have infinite programming resources, forums about programming, and large language models such as ChatGPT at our fingertips. The path to coding has never been so open to everyone. With just the basics, you can utilize these resources to reach unthinkable goals.
Understanding these fundamental concepts is all you need to start your project and understand code from others. Mastering these basics truly opens up a new world of possibilities.
Remember, this is just the beginning; keep practicing, experimenting, and, most importantly, keep coding.
The future is bright, and your journey with Python has only just begun.