Skip to content


# HanoiInitial

VTKEx/Python/Visualization/HanoiInitial

Other languages

See (Cxx)

Question

If you have a simple question about this example contact us at VTKExProject If your question is more complex and may require extended discussion, please use the VTK Discourse Forum

### Code

HanoiInitial.py

    #!/usr/bin/env python

    """
    HanoiInitial

    Note: Make sure Hanoi.py is in the same directory as this program.
    """

    import Hanoi

    def main():
        Hanoi.gv.configuration = 1
        Hanoi.hanoi()

    if __name__ == '__main__':
        main()