Skip to main content

365 DAYS OF CODE - DAY 24

I have noticed that I am not grinding enough. I do not know how to put it. It does feel like I am not putting in enough work which I plan on fixing from today.


Continuing from yesterday,

A class is written with the first letter of each word capitalizes (i.e., in pascal case) to differentiate it from all the variables and function names where each word is separated by underscores.

food = FoodBlueprint()

where food is the object

      FoodBlueprint() is the class


You can find Python Packages at pypi.org 

To install a package into our project,

On MacBook -> PyCharm - preferences - project - project interpreter - click on the plus button to install any package that you find on PyPI - search for the package - click install

For windows -> file - settings - 

"project - project interpreter - click on the plus button to install any package that you find on PyPI - search for the package - click install" should follow but I could not find project or project interpreter.



Comments