Difference between Python Programming and Python Scripting

The Eduladder is a community of students, teachers, and programmers just interested to make you pass any exams. So we solve previous year question papers for you.
See Our team
Wondering how we keep quality?
Got unsolved questions?

Ask Questions

Programming-the-Web10CS73-unit-2-->View question

Difference between Python Programming and Python Scripting.

Explain in detail.


Taged users:


Be first to dislike this question

Talk about thisDelete|Like|Dislike|

You may also like our videos


scripting refers to the automation of tasks that could be manually done one by one, by a program written in an interpreted (rather than compiled) programming language. Coding is a more general term, but I assume that you means what is not scripting in Python : it is writing Python modules, i.e block of codes that can be reused in Python scripts or in other Python modules.

For example, the following hello_world.pyis a script:

  1. #!/usr/bin/python
  2. print(“Hello world !”)

Under Unix environment, you can execute this script : the first line calls the python engine, then all other instructions are executed by the python engine.

The following example Hello_world.pycan be used in other scripts or other modules (even if I doubt of any use of this), but will not execute anything by itself:

  1. class Hello_world:
  2. def __init__(self):
  3. self.hello_world = "Hello_world !"
  4. def run(self):
  5. print(self.hello_world)


Be first to like this answer

Be first to dislike this answer
Talk about this|Once you have earned teacher badge you can edit this questionDelete|Like|Dislike|

Lets together make the web is a better place

We made eduladder by keeping the ideology of building a supermarket of all the educational material available under one roof. We are doing it with the help of individual contributors like you, interns and employees. So the resources you are looking for can be easily available and accessible also with the freedom of remix reuse and reshare our content under the terms of creative commons license with attribution required close.

You can also contribute to our vision of "Helping student to pass any exams" with these.
Answer a question: You can answer the questions not yet answered in eduladder.
Career: Work or do your internship with us.
Create a video: You can teach anything and everything each video should be less than five minutes should cover the idea less than five min.
Donate: Ad revenue alone is not able to take care of our server cost consider donating at least a dollar Click here to donate.

If you want the help of doing any of these never hesitate to drop an email to me arunwebber[at]gmail[dot]com, Or you can ping us on WhatsApp ph: 8147433408

Can you help us to add better answer here? Please see this

Not the answer you're looking for? Browse other questions from this Question paper or ask your own question.

Join eduladder!