English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Explain each word of the following command. Python <filename.py> -<i> <C++ filename without cpp extension> - Computer Science

Advertisements
Advertisements

Question

Explain each word of the following command.

Python  <filename.py>  -<i> <C++ filename without cpp extension>

Short/Brief Note
Advertisements

Solution

Python < filename.py > -i < C++ filename without cpp extension >

Python Keyword to execute the Python program from command-line
filename.py Name of the Python program to execute
– i input mode
C++ filename without CPP extension Name of C++ file to be compiled and executed

Example: Python pycpp.py -i pali

shaalaa.com
  Is there an error in this question or solution?
Chapter 14: Importing C++ programs in Python - Evaluation [Page 289]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 12 TN Board
Chapter 14 Importing C++ programs in Python
Evaluation | Q 2. | Page 289
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×