Python Concepts: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
=Intro=
To run python, go into Terminal, and type python to run the python console. You get the >>> prompt.
=Concepts=
=Concepts=
*Command class - [https://refactoring.guru/design-patterns/command]
*Command class - [https://refactoring.guru/design-patterns/command]
*Class -
*'''Modules - [https://docs.python.org/3/tutorial/modules.html]'''
*Object -
*Class - a bundle of data and functionality [https://docs.python.org/3/tutorial/classes.html]
*Object - is an instance of a class
*Method - a function
*Method - a function
*Data - variables
*Data - variables

Revision as of 03:09, 22 May 2020

Intro

To run python, go into Terminal, and type python to run the python console. You get the >>> prompt.

Concepts

  • Command class - [1]
  • Modules - [2]
  • Class - a bundle of data and functionality [3]
  • Object - is an instance of a class
  • Method - a function
  • Data - variables