Home »
MCQs »
Pygame MCQs
Which is the correct import statement to import QtGui Module?
5. Which is the correct import statement to import QtGui Module?
- from PyQt4 import PyQtGui
- from PyQt4 import QtGui
- import PyQt4 from QtGui
- Both A and B
Answer
The correct answer is: B) from PyQt4 import QtGui
Explanation
The correct import statement to import QtGui Module in Python is:
from PyQt4 import QtGui