sys

suggest change

Introduction

The sys module provides access to functions and values concerning the program’s runtime environment, such as the command line parameters in sys.argv or the function sys.exit() to end the current process from any point in the program flow.

It is a built-in module, so it is available under normal circumstances. The name sys is in scope only after you import it. The later examples assume that import.

Syntax

import sys
from sys import exit

Remarks

For details on all sys module members, refer to the official documentation.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents