Examples/rhallo.py

changeset 42
23b45a742e17
parent 12
1d8dd9706f46
child 3670
f0cb7579c0b4
equal deleted inserted replaced
41:572a009369f0 42:23b45a742e17
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 2
3 import sys 3 import sys
4 4
5 import eric4dbgstub 5 import eric5dbgstub
6 6
7 def main(): 7 def main():
8 print("Hello World!") 8 print("Hello World!")
9 sys.exit(0) 9 sys.exit(0)
10 10
11 if __name__ == "__main__": 11 if __name__ == "__main__":
12 if eric4dbgstub.initDebugger("standard"): 12 if eric5dbgstub.initDebugger("standard"):
13 # or if eric4dbgstub.initDebugger("threads"): 13 # or if eric5dbgstub.initDebugger("threads"):
14 eric4dbgstub.debugger.startDebugger() 14 eric5dbgstub.debugger.startDebugger()
15 15
16 main() 16 main()

eric ide

mercurial