• Python TurtleWorld configuration and simple test


    TurtleWorld provides a set of functions for drawing lines by steering turtles around the screen. You can download Swampy from allendowney.com/swampy.

    Unzip it into the site-packages folder. All third-party packages can be installed there.

                           

    Next step is system environment variables configuration.

     

     

     

    Then open the IDLE (Python GUI) to test if the module installed successfully.

    Type form TurtleWorld import * and click enter, if no error occurs means the module TurtleWorld is installed successfully. Then you can continue to study this interface.

     

    Testing code:

     

    Output:

     

  • 相关阅读:
    【图论】第k短路
    【图论】差分约束系统
    【图论】最短路
    【图论】Johnson算法
    HDU5878
    HDU5900
    pow的小事不简单
    math汇总
    Bellman-Ford最短路径
    图的遍历
  • 原文地址:https://www.cnblogs.com/ryansunyu/p/3685379.html
Copyright © 2020-2023  润新知