Examples/rhallo.py

Sat, 12 Apr 2014 16:19:56 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 12 Apr 2014 16:19:56 +0200
branch
5_4_x
changeset 3501
22b84d61a608
parent 42
23b45a742e17
child 3670
f0cb7579c0b4
permissions
-rw-r--r--

Fixed an issue in the project writer.
(grafted from 60f6631547897143c9b3188b097c6354e9af4507)

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