<s> """<STR_LIT>""" <EOL> import logging <EOL> logging . basicConfig ( level = logging . DEBUG ) <EOL> import sys <EOL> from pyqode . qt import QtWidgets <EOL> from pyqode . core . api import CodeEdit <EOL> from pyqode . core . backend import server <EOL> from pyqode . core . modes import AutoCompleteMode <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> app = QtWidgets . QApplication ( sys . argv ) <EOL> editor = CodeEdit ( ) <EOL> editor . backend . start ( server . __file__ ) <EOL> editor . resize ( <NUM_LIT> , <NUM_LIT> ) <EOL> print ( editor . modes . append ( AutoCompleteMode ( ) ) ) <EOL> editor . appendPlainText ( <EOL> '<STR_LIT>' ) <EOL> editor . show ( ) <EOL> app . exec_ ( ) <EOL> editor . close ( ) <EOL> del editor <EOL> del app </s>
