source code
The human-readable text of a program, as written in a programming language and saved in a file.
In more detail
Source code is only text until something runs it: running is an event, the file is just a recipe. Python source code is saved in files ending in .py. Keeping source code in version control lets you see and undo every change.
Related terms
- program — A list of instructions, written down in advance, that a computer follows exactly and without question.
- .py file — A plain text file whose name ends in .py, holding Python source code that the interpreter can run or import.
- interpreter — A program that reads source code and carries it out at run time, instead of translating it into machine code in advance.
Taught in
- What A Program Really Is — Hands-on Python: Complete Video Course & Book
- The Idle Editor And Running Programs — Hands-on Python: Complete Video Course & Book
- Fundamentals Sprint — PCEP Certified Entry-Level Python Programmer (PCEP-30-02) Exam Prep