Examples/rhallo.py

Sat, 23 Feb 2013 11:29:01 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 23 Feb 2013 11:29:01 +0100
changeset 2427
46481fe988d2
parent 42
23b45a742e17
child 3670
f0cb7579c0b4
permissions
-rw-r--r--

Added code to enable/disable certain entries of the Project->Session and Project->Debugger menus.

#!/usr/bin/env python

import sys

import eric5dbgstub

def main():
    print("Hello World!")
    sys.exit(0)
    
if __name__ == "__main__":
    if eric5dbgstub.initDebugger("standard"):
# or   if eric5dbgstub.initDebugger("threads"):
        eric5dbgstub.debugger.startDebugger()

    main()

eric ide

mercurial