Examples/rhallo.py@e9ee3ea73db4
Examples/rhallo.py
Sun, 30 Mar 2014 15:57:50 +0200
- author
- Detlev Offenbach <detlev@die-offenbachs.de>
- date
- Sun, 30 Mar 2014 15:57:50 +0200
- changeset 3451
- e9ee3ea73db4
- parent 42
-
23b45a742e17
- child 3670
-
f0cb7579c0b4
- permissions
- -rw-r--r--
Fixed an issue in the Python variant detection code causing none Python files being detected as Python files.
#!/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()