Lesson 1, Topic 1
In Progress

1.1. Fundamental Concepts

• How did Python get its name?

• What does a Python extension look like?

• What is an interpreter?

• What is a compiler?

• Why should you use Python?

Python Fundamental Concepts

  • What is Python and how do we recognize Python files?
  • Python Docs answer:
    • Python is an interpreted, interactive, object-oriented programming language. It incorporates modules, exceptions, dynamic typing, very high-level dynamic data types, and classes. Python combines remarkable power with very clear syntax. It has interfaces to many system calls and libraries, as well as to various window systems, and is extensible in C or C++. It is also usable as an extension language for applications that need a programmable interface. Finally, Python is portable: it runs on many Unix variants, on the Mac, and on Windows 2000 and later.
  • The extension for Python files is .py

Python Name

  • ”Python was created by Guido van Rossum. Guido van Rossum was developing Python while also reading Monty Python’s Flying Circus published scripts. He decided to name his programming language “Python” after Monty Python’s Flying Circus because he wanted it to be original, mysterious, and short.”

(https://www.singaporecodingclub.com/knowledge-base/python-name-origin/)

Interpreted language (not a compiled one)

Interpreter vs. Compiler

Interpreter

  • Translates code line by line
  • Takes less time to run (translate)
  • Checks for errors and runs the program simultaneously
  • Code runs slower

  • Python, JavaScript, Ruby, JAVA (?)