Python isn't a programming language, it's a scripting language

>Python isn't a programming language, it's a scripting language
Can someone please explain this? What's the difference between a program and a script?

Attached: Python-Symbol.png (3840x2160, 25.42K)

A script is a program

yuse whatever language for whatever purpose. remember doing things properly is a waste of time. rather do things cleverly

scripting is misleading. interpreted is the word that should be used.

a program is compiled
a script is interpreted

Scripting languages aren’t visibly compiled and don’t scale well.

you're scripting the python interpreter to tell it what to do. a programming language is compiled

Probably meant that it's a mainly interpreted lang as opposed to compiled stuff like C. It also has a more lax type system which is itself usually a trait of interpreted "toyish" scripting languages.

It's a programming language
Scripting languages are just PL's that are good at gluing things together and interpreted instead of compiled

That seems like a really arbitrary distinction. Every programming book I've read describes a program as a set of instructions to the computer to make it take certain input and produce a certain output

Scripting language = programming language that automates tasks, it's pretty much always interpreted or just in time compiled rather than compiled

Task examples: renaming files, scraping a webpage, generating some repetitive text...

Language examples: Bash, Lua, Python...

this
work smarter not harder

In ""scripts"" as in interpreted lingos lile python there's only pseudo functions, a guy looking and interpreting line by line - you execute a script
While ""programs"" are already read through and a function knows its place as its already been hunted through a compiler - you execute binaries

A script is a small(ish) off-the-cuff program, probably for automating something, written in a single file, and probably shared fairly informally, if at all.
It's not precisely defined, and it's not even much of a technical term.
Some languages are very suitable for writing scripts. They tend to be interpreted and not need much boilerplate, to make both writing and running low-effort. These are scripting languages.
But if you build a large application in one of those languages it would be silly to call it a script. Python is more than just a scripting language, not all Python programs are scripts.

this. became more successful in my programming career with this mindset

script:
source code ---> interpreter ---> compiler

program:
source code ---> compiler

retard

Your script requires an interpreter to run which is a program.

Python source is compiled to bytecode and runs on python vm (ie the interpreter)

It performs like shit hence you should only use it for little one-off programs (scripts), usually ones that automate a simple task, or glue libraries together.
That definition is indeed very arbitrary.
>#!/bin/tcc -run
Did I just make C a scripting language?
Dynamically linked ELFs list /lib64/ld-linux.so as their interpreter. Are they scripts?

>scripting language
script MEAN SOMETHING SHORT, NON COMPLEX, AND IF SCRIPS DOING FASTER THAN MANUAL BUTTON PRESSING ITS GOOD ENOUGHT

Compiled vs interactive is the distinction as I see it. If someona can edit the script, it doesn't have the same black magic appeal as a binary blob.