Skip to content

🧬 Here you'll find OOP exercises, exams, notes, and environment setup instructions relevant to the curriculum covered in class.

License

Notifications You must be signed in to change notification settings

FabianaCampanari/Object-Oriented-Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

🧬 Object Oriented Programming

Welcome to the Object Oriented Programming repository for the Analysis and Systems Development Program at Impacta Technology University - SΓ£o Paulo - Brazil! Here you'll find exercises, exams, notes, and environment setup instructions relevant to the curriculum covered in class. Feel free to explore, contribute, and learn together with your peers.

😎 Happy coding!

< made with vibe, frequency & joy /> πŸͺ¬

πŸ‘¨β€πŸ’» An Example of OOP Code

The code below provides a simple framework for managing different types of bank accounts, including savings and investment accounts, and allows for basic operations like deposits and withdrawals. The InvestmentAccount class extends the functionality of the base BankAccount class to handle specific investment-related actions.
Bank_Accounts_Framework

πŸ› οΈ Additional options available in the development environment

  • Command to Install Flake8 in Your Development Environment

    py -m pip install flake8              # Windows
    
    python3 -m pip install flake8         # Linux and MacOS
    
  • Command to Install pep8-naming in Your Development Environment

    py -m pip install pep8-naming         # Windows
    
    python3 -m pip install pep8-naming    # Linux and MacOS
    
  • Set of Commands Adding Options to a JSON Configuration File

    {
    "python.linting.pylintEnabled": false,
    "python.linting.flake8Enabled": true,
    "editor.renderWhitespace": "boundary",
    }
    

πŸ–₯️ Creating a Virtual Environment on IOS and Ubintu - pip and venv

These commands help you manage Python dependencies by creating a virtual environment, saving installed packages to a file, and then installing those packages when needed.
  • List installed Python packages and their versions:

     pip freeze
    
  • Save the list of installed packages to a requirements.txt file:

     pip freeze > requirements.txt
    
  • Deactivate the current virtual environment:

     deactivate
    
  • Create a new virtual environment named .venv:

     python3 -m venv .venv
    
  • Activate the newly created virtual environment:

     source .venv/bin/activate
    
  • Install packages listed in the requirements.txt file:

     pip install -r requirements.txt
    

πŸ‘¨β€πŸ’» Code for GitHub Actions

Code for a GitHub Actions workflow. It defines how to build and test a Python project.
Screenshot 2023-09-27 at 02 28 33

@property class and its argunents

This docstring provides an explanation of the property class and its constructor, including the optional arguments fget, fset, fdel, and doc, along with descriptions of what each argument does.
Screenshot 2023-09-27 at 02 31 23

🐍 OPP Codes

πŸ“š Support Material Object Oriented Programming in Python