/usr/share/monkeystudio/templates/Python/PyQt Console/$Main File Name$ is in monkeystudio-common 1.9.0.4-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | import sys
# import PyQt4 QtCore module
from PyQt4.QtCore import *
if __name__ == '__main__':
# create application
app = QCoreApplication( sys.argv )
app.setApplicationName( '$Project Name$' )
qWarning( 'This is your PYTHON-Qt Console Application: $Project Name$' )
# execute application
sys.exit( app.exec_() )
|