Script
What's a script? how is it different from a program?
What Is A Script?
At its most basic level, a script is an automation that can be changed at anytime
What's The Difference With A Program?
A program has pre-defined features that the user can't change
Most of the times a script is made with interpreted languages (Python, PowerShell, BASH, VBS) and is basically a text file that another program is reading and executing its instructions
Example
print("Hello world")To run this file you need to run the command
python hello.pyNotice that the "hello.py" part is the path to the file, you're telling python to read the file hello.py from your current working directory
If you need to read a file in a different directory, you'll need to change the path
Linux / Mac OS:
python
python3Windows:
python.exePython is the process that takes that text file (with an extension of .py) and converts it to a language the computer can understand in realtime (JIT)