Examples/rhallo.py

Mon, 12 Apr 2021 19:25:18 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 12 Apr 2021 19:25:18 +0200
changeset 8229
6fa22aa4fc4a
parent 5422
222da86472d9
child 8314
e3642a6a1e71
permissions
-rw-r--r--

Applied some more code simplifications suggested by the new Simplify checker (Y102: use single if) (batch 2+).

#!/usr/bin/env python

import sys

import eric6dbgstub

def main():
    print("Hello World!")
    sys.exit(0)
    
if __name__ == "__main__":
    if eric6dbgstub.initDebugger("standard"):
        eric6dbgstub.debugger.startDebugger()

    main()

eric ide

mercurial