Enabling Code Completion in an embedded Python Interpreter

后端 未结 4 2100
青春惊慌失措
青春惊慌失措 2020-12-28 23:20

I have got a PyQT widget interpreter working, the code picked up from here is as follows:

import os
import re
import sys
import code

from PyQt4.QtGui impo         


        
4条回答
  •  臣服心动
    2020-12-28 23:53

    I have an open-source PyQt based Python interpreter that you can find here: http://docs.projexsoftware.com/api/projexui/

    The specific class is the XConsoleEdit found in projexui.widgets.xconsoleedit. It has auto-completion built-in.

    Hope that helps!

提交回复
热议问题