Which of the following environment variable for Python is an alternative module search path?
Correct Answer: PYTHONHOME
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Python Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Python MCQ Questions
What will be the following code output? import math res = math.pow(4, 3) def addition(x, y): return (x+y) def subtract(x, y): return (x-y) def multiply(x, y): return (x*y) def divide(x, y): return (x%y) import mathExample print mathExample.res
Output of the below code snippet? x = 10 def foo(): print(x) x = x - 1 foo() print(x)
What is the default encoding in the string function encode()?
Output of following code? print '\x48\x49!'
The output of executing string.ascii_letters can also be achieved by ____?
Declaring a function is simply the preferred way of describing an object and binding it to a name. Which of the following statements bind an 'anonymous' function to a name?
Read the following statements: >>> import string >>> str = 'Mary had a lamp in her Hand' >>> str = string.replace(str, 'ha', 'stan') >>> str Which of the following will be the output?
Output of the following statements: >>> letlist = ('a','B','Z','r','w') >>> for c in letlist: print c, # inserts spaces
Which statement is correct for the interpreter when it is in interactive mode?
Output of the following statement? >>> 1j * 1J