Find a reference entry

Python Functions

Collection of Python Functions and Methods

Reference entries

Collection of Python Functions and Methods

__COUNT__ entries on this page

Python os.urandom() MethodThe os.urandom() is an in-built Python function used to generate a string literal made up of random characters.Python os.utime() MethodThe os.utime() is an in-built Python function used to find the running time of use of a specified path.Python os.waitpid() MethodThe os.waitpid() is an in-built Python function used to retrieve a process's ID.Python os.walk() MethodThe os.walk() method scans a directory for files and folders.Python os.write() MethodThis article will discuss the os.write() Python function. os.write() is an in-built function used to write a string in a file.Python sys.argv ListThis article discusses the sys.argv list in Python. We use this to have a list of command line arguments passed to a Python script.Python sys.exc_info() MethodThe sys.exc_info() is an in-built Python function used to find information about an exception.Python sys.exit() MethodThe sys.exit() stops the execution of a Python program.Python sys.getswitchinterval() MethodThe sys.getswitchinterval() is an in-built Python function used to get the switch time interval of the Python threads. In this article we will discuss this method, its uses, and some examples using it.Python sys.gettrace() MethodThe sys.gettrace() is an in-built Python function used to implement the debuggers, coverage tools, and profilers.Python sys.implementation VariableThe sys.implementation is an in-built Python variable used to find how the Python is implemented on a specific system.Python sys.maxsize() MethodThis article discusses the sys.maxsize() method in Python. We use this method to return the maximum size of Py_ssize_t that it can hold.Python sys.path AttributeThe sys.path attribute stores a list of file system paths to search for Python modules.Python sys.platform VariableThe sys.platform is an in-built Python variable used to change some platform-specific components.Python sys.prefix VariableThe sys.prefix is a built-in Python variable used to get the file directory of any Python installation.Python sys.settrace() MethodThe sys.settrace() is an in-built python function used to implement the debuggers, coverage tools, and profilers.Python sys.stdin AttributeThe sys.stdin stands for Standard Input and it allows us to take user input.Python sys.stdout MethodIt is the article on sys.stdout method in Python. We use this method to display output to the console section.