हिंदी
तमिलनाडु बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान कक्षा १२

What is the purpose of the sys, os, getopt module in Python? Explain. - Computer Science

Advertisements
Advertisements

प्रश्न

What is the purpose of the sys, os, getopt module in Python? Explain.

संक्षेप में उत्तर

उत्तर

Python’s sys module:

This module provides access to some variables used by the interpreter and to functions that interact strongly with the interpreter.

Python’s OS module:

  • The OS module in Python provides a way of using operating system-dependent functionality.
  • The functions that the OS module allows you to interface with the Windows operating system where Python is running on.

Python getopt module:

  • The getopt module of Python helps us to parse (split) command-line options and arguments.
  • This module provides two functions to enable command-line argument parsing.
shaalaa.com
Python Program to Import C++
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 14: Importing C++ programs in Python - Evaluation [पृष्ठ २९०]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 12 TN Board
अध्याय 14 Importing C++ programs in Python
Evaluation | Q 3. | पृष्ठ २९०
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×