Examples/rhallo.py

changeset 12
1d8dd9706f46
parent 0
de9c2efb9d02
child 42
23b45a742e17
equal deleted inserted replaced
11:b0996e4a289e 12:1d8dd9706f46
3 import sys 3 import sys
4 4
5 import eric4dbgstub 5 import eric4dbgstub
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 eric4dbgstub.initDebugger("standard"):
13 # or if eric4dbgstub.initDebugger("threads"): 13 # or if eric4dbgstub.initDebugger("threads"):

eric ide

mercurial