Course Content
Selenium Python First Script
Selenium Python First Script
0/2
HTML Form elements
HTML Form elements
0/1
Handle HTML Frames
Handle HTML Frames
0/2
Handling Dropdown Lists
Handling Dropdown Lists
0/2
Selenium Action class
Selenium Action class
0/1
Selenium Python for Beginners [ 2024 ]
About Lesson

Python Scripts from Command Line

This lesson will teach you how to run a Python script from the command line. A Python script can be executed from the command line using the Python interpreter.

Windows

Launch the Command Prompt:

Change the directory to the script location.

/> python myscript.py

Linux

Open the Terminal window:

$ python myscript.py

Join the conversation