33 from python_qt_binding.QtGui
import QFont
35 from spyderlib.widgets.internalshell
import InternalShell
36 from spyderlib.utils.module_completion
import moduleCompletion
45 super(SpyderConsoleWidget, self).
__init__(namespace=my_locals)
46 self.setObjectName(
'SpyderConsoleWidget')
47 self.set_pythonshell_font(QFont(
'Mono'))
48 self.interpreter.restore_stds()
51 """Return module completion list associated to object name""" 52 return moduleCompletion(objtxt)
55 self.interpreter.redirect_stds()
58 self.interpreter.restore_stds()
61 self.exit_interpreter()