KratosPythonQuestion (1)
KratosPythonQuestion (1)
Python
Electronics & Controls
May 2025
1 Introduction
1.1 What is Object Oriented Programming ?
Object Oriented Programming is a way of writing code that seeks to model the
real world. It organizes data into objects, which are created using blueprints
called classes. The classes serve as a definition for the fields and methods of
the objects (or instances) that are created from them.
1.2 Python
Python is a high-level, easy-to-understand programming language with exten-
sive support and features, and includes OOPS, but not as rigorously as Java.
We will use Python for a fair amount of our further programming endeavors,
alongside C++ ( which you may be familiar with ).
2 Resources
The resources provided come with instructions as to what is needed to be
learned. A solid understanding of both Python and OOPS will be required
for completing the assignment section ( without chat GPT).
2.1 Python
2.1.1 Installation
• Windows : the most recent python version can directly be downloaded
from the Microsoft Store. Alternatively, you can choose to download and
install from the official website [Click Me!]
• MacOS : python can be installed from the official website provided in
the windows section You may also choose to install brew, then type
brew install python in your terminal (bit advanced).
1
2.1.2 Required Components
• python syntax
• data structures in python
2.1.3 Resources
(Just click on the item to go to the link)
• Introduction to Pyhon
• Arrays in Python
• Lists in Python
• Dictionaries in Python
• Python Comprehensions
• Queues in Python (!!Optional!!)
• Creation of objects
• Static and non-static fields
• Static and non-static methods
2.2.2 Resources
(Just click on the item to go to the link)