Examples/rhallo.py

Tue, 17 Jun 2014 19:46:24 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 17 Jun 2014 19:46:24 +0200
changeset 3638
cede64100e13
parent 42
23b45a742e17
child 3670
f0cb7579c0b4
permissions
-rw-r--r--

Added code to the multi project 'Add Project' dialog to ensure, that the filename returned is absolute. If a relative one is entered it is concatenated with the path of the multi project file or the 'workspace', if it hasn't been saved yet.

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