Python is Scripting Language:
- Script is a set of Instructions
- Script is a sub program
- Scripts always execute from another program.
- Using the scripting functionality of Python language, it is using as a platform with many technologies like selenium, devOps, Data science, machine learning, Artificial Intelligence, Hadoop, Salesforce and many more.
- Python can run as a program.
- Python code can run from other programs like Script.
- One of the examples to understand about scripting languages is JavaScript.
- JavaScript code always execute with HTML program.
- JavaScript run by Browser Interpreter along with HTML code.
- JavaScript is giving functionality to HTML pages.
- HTML is used to create static pages with no functionality.
Types of Script: There are two types of scripting language are present-
- Server Side Scripting Language
- Client Side Scripting Language
Server Side Scripting Language:
- Server side code is used to retrieve and generate content for the dynamic pagesfor exp: to retrieve the content from database
- It can communicate to database using structured query language (SQL) which manipulates the database (add, remove, update etc.)
- The script can be written in any of a number of server side scripting language available(python, php, asp.net)
Client Side Scripting Language
- Client is a party that request pages from the server side and displays them to the end-user.
- In general a client program is nothing but a web browser.
- A client side scripting is used when the users browser already has all the code and the page is respond on the basis of users input.
- Response time of client side scrip is faster than a server side script because client side scripts are processed on the local computer.
- Example: Java Script, HTML, CSS, TypeScript….etc.