Examples/rhallo.py@8b6a501db77d
Examples/rhallo.py
Tue, 25 Mar 2014 19:25:11 +0100
- author
- Detlev Offenbach <detlev@die-offenbachs.de>
- date
- Tue, 25 Mar 2014 19:25:11 +0100
- branch
- 5_4_x
- changeset 3430
- 8b6a501db77d
- parent 42
-
23b45a742e17
- child 3670
-
f0cb7579c0b4
- permissions
- -rw-r--r--
Fixed an issue in the Python2 debug client reporting the wrong language.
(grafted from 4c81e9536ebcc508e9ffe4ebc45ef04d5a684640)
#!/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()