4 Matching Annotations
  1. Jul 2020
  2. Apr 2020
    1. What is the difference between a compiler and an interpreter?

      Compilers vs. interpreter:

      • Compiler: takes entire program as input vs interpreter: takes single instruction as input
      • program isn't compiled every time vs. high level program is always converted into lower level program
    1. The "csev$" is the operating system prompt, and the "cat hello.py" is showing us that the file "hello.py" has a one-line Python program to print a string. We call the Python interpreter and tell it to read its source code from the file "hello.py" instead of prompting us for lines of Python code interactively.

      I don't get this part