Home

Python Introduction (Day - 02)

 ðŸŸ¥ Scripting Language:

A scripting language is a type of programming language used to write small programs (scripts) that automate tasks, control software, or process data. Python is one of the most popular scripting languages.


🟦 1. Dynamic Datatypes:

Python uses dynamic typing, which means you don’t need to declare the type of a variable. The type is assigned automatically based on the value.

🟢 Purpose: This makes Python flexible and beginner-friendly. You can change variable types without rewriting your code.


🟩 2. Compiled + Interpreted (Hybrid)

Python is interpreted, meaning it runs line-by-line using an interpreter. But it also compiles code into bytecode before execution — making it a hybrid.

🟣 Purpose: This allows Python to be both easy to debug and efficient to run, especially for automation and scripting.


🟨 3. Platform Independent

Python code runs on Windows, macOS, Linux, and even mobile devices — without changing the code.

🟠 Purpose: You can write Python once and run it anywhere. This makes it perfect for students, developers, and companies working across platforms.


🟪 4. Portable

Python scripts can be shared and reused across systems. You can copy your .py file and run it on any machine with Python installed.

🔵 Purpose: This makes Python ideal for team projects, school assignments, and open-source contributions.



No comments:

Post a Comment