Examples/rhallo.py

changeset 3670
f0cb7579c0b4
parent 42
23b45a742e17
child 5422
222da86472d9
equal deleted inserted replaced
3669:ac84ac3c0f05 3670:f0cb7579c0b4
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 2
3 import sys 3 import sys
4 4
5 import eric5dbgstub 5 import eric6dbgstub
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 eric5dbgstub.initDebugger("standard"): 12 if eric6dbgstub.initDebugger("standard"):
13 # or if eric5dbgstub.initDebugger("threads"): 13 # or if eric6dbgstub.initDebugger("threads"):
14 eric5dbgstub.debugger.startDebugger() 14 eric6dbgstub.debugger.startDebugger()
15 15
16 main() 16 main()

eric ide

mercurial