How Do You Write Computer Scripts?


Quick Answer

The first step to writing scripts is to install the language's executables and other files. Python and several other popular scripting languages come preinstalled on OS X and in most Linux distributions, but Windows users have to install and configure them manually. The process of installing most scripting languages also installs a read–eval–print loop interface that allows users to type commands one line at a time to get instant feedback. These tools are useful for experimenting.

Continue Reading
Related Videos

Full Answer

While any text editor works for writing scripts, installing an advanced text editor or integrated development environment can make the task easier. These tools provide syntax highlighting that makes it easier to spot typos and other errors and allows users to run their scripts while editing them. Many languages have IDEs designed for them, but most popular IDEs and advanced text editors provide support for a broad range of languages, including most popular scripting languages.

Writing scripts requires knowing the programming language. Popular scripting languages typically have a number of options for learning. Python, for example, has links to tutorials and other resources on its website, and these guides are enough to get new users up and running. Codeacademy and other websites offer interactive tutorials that let users write code as they learn.

Learn more about Computer Programming

Related Questions