Examples/rhallo.py

Mon, 25 Mar 2013 03:28:43 +0100

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Mon, 25 Mar 2013 03:28:43 +0100
branch
Py2 comp.
changeset 2526
a91cba8291b9
parent 42
23b45a742e17
child 3670
f0cb7579c0b4
permissions
-rw-r--r--

Minimum modifications to start Eric5 with Py2.

#!/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