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 Command line options

The following command will display the Python command-line options. /> python –help

Some of the Python command line options are as follows:

Python Command line Options
Python Command-line Options

Command line options

Some of the command-line options are as follows:

Python command-line option Option Description
-d This option turns on and provides the parser debugging output
-S This flag doesn’t imply ‘import site’ on initialization at startup
-v provides verbose output(detailed trace on import statements)
-O Generate optimized bytecode
-X disable class-based built-in exceptions; obsolete starting with version 1.6
-c cmd run Python script sent in cmd string. The program passed in as a string
file program read from the script file. Run Python script from the given file
Join the conversation