一种基于图形界面的Python代码自动生成软件的设计与实现  被引量:4

Design and Implementation of Python Code Auto Generated Software Based on Graphic Interface

在线阅读下载全文

作  者:宋雅娟 SONG Yajuan(School of Computer Engineering,Suzhou Vocational University,Suzhou 215104,China)

机构地区:[1]苏州职业大学计算机工程学院,苏州215104

出  处:《长春大学学报》2021年第6期24-27,共4页Journal of Changchun University

基  金:江苏省教育科学“十三五”规划课题(D/2016/03/14);苏州市职业大学校级项目(SZDJG-20004);苏州市职业大学校级项目(SZDYKC-200608)。

摘  要:Python语言作为人工智能时代最合适的语言,有越来越多的人开始进行学习。为了提高学习兴趣、充分发挥学习者的创意,基于Turtle函数库设计并实现了一款图形界面的软件。在软件上用户可以使用鼠标进行图形的绘制,软件会根据绘制图形的类型、线条粗细、颜色等信息自动生成相应的Python代码。对照图形及生成的代码,可以帮助学习者方便快速地掌握Turtle常用函数的用法及Python程序的基本用法。Python language is the most suitable language in the era of artificial intelligence,and more and more people begin to learn it.In order to improve the learning interest and give full play to the creativity of learners,this paper designs and implements a graphical interface software based on Turtle function library.With this software,users can use the mouse to draw graphics,and the software will automatically generate the corresponding Python code according to the type of graphics,line,color and other information.By comparing with the graphics and generated code,it can help learners quickly and easily master the usage of the commonly used functions of Turtle and the basic usage of Python program.

关 键 词:PYTHON语言 Turtle库 代码自动生成 图形界面 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象