197k views
4 votes
How would I start a script file?

User Roeland
by
5.4k points

1 Answer

6 votes

Answer:

Hi, first of all have clarity what do you want to do with that script? e.g. (start a server, listen to other script, run a math calculation, start a video game, etc..)

after that, choose a programming language preferably of high level to make easy the execution.

Step-by-step explanation:

I'm going to make an example of a short script in python

# Python script.py

x = " "

while(x =! "stop"):

print("While x is different from stop, continuing input!")

x = input()

And then, in a promt or ide you run python script.py

I hope it's help you.

User Dario Brux
by
5.2k points