How to Make Python Open

Python is an interpreted programming language that is used for Unix/Linux applications and in Web applications. To make a Python script open you run the script using the Python engine. The Python engine is open source software and may be downloaded from python.org. Install a free version of the Python engine and write a Python script file to run. A Python script file is a simple text file containing Python coding and saved with the “.py” file extension. You open the Python engine by using the script file name as an argument with the command.

Things You'll Need

  • Python engine installed
  • Python script file
Show More

Instructions

    • 1

      Open a command prompt on a Linux or Windows machine and log in with “root” or “Administrator” rights.

    • 2

      Type the following command at the prompt and replace the “filename” entry with the file name of your Python script file.

      python filename.py

    • 3

      Press the “Enter” key, then the command is executed. Python runs and interprets the “filename.py” script file.

Related Searches:

Comments

Related Ads

Featured