Next / Previous / Contents / Shipman's homepage

25. Epilogue

This epilogue triggers execution of the main sequence in Section 9, “main(): Main logic of listext2. The test for __name__ allows elements of this script to be imported elsewhere without execution of the main.

listext2
# - - - - -   E p i l o g u e

if __name__ == '__main__':
    main()