8 Matching Annotations
  1. Feb 2023
    1. Source Code are instructions written in a file rather than on the program itself, but the file should always end in .py if using python to execute the program.

    2. Working directly in the interpreter is convenient for testing short bits of code because you get immediate feedback. Think of it as scratch paper used to help you work out problems.

      Interpreter is usually used as scratch paper, testing and immediate results.

    3. In shell mode, you type Python expressions into the Python shell, and the interpreter immediately shows the result.

      Shell Mode immediately shows you the result when typing code and executing it.

    4. object code or the executable

      object code is the end result of a complier translating/compiling source code for the computer to execute repeatedly without any more translations being needed.(Seems a little more complicated but more risk free?)

    5. An interpreter reads a high-level program and executes it, meaning that it does what the program says.

      An interpreter executes high-level programs, little by little, reading the lines and doing computations. (Seems to be a much simpler process for a computer)