मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता १२

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×