当前位置>主页 > 期刊在线 > 信息技术 >

信息技术22年15期

基于 Python 语言的好友管理系统的设计
刘秀丽
(山东华宇工学院,山东 德州 253034)

摘  要:Python 是目前主流的编程语言之一,而列表是 Python 最灵活、最常用的数据结构。文章对列表相关内容,如创建列表、访问列表元素、遍历列表、添加列表元素、删除列表元素、修改列表元素、查找列表元素等进行深入的研究,然后举例介绍列表中涉及的操作,最后采用综合性案例,分析并设计出基于 Python 语言的好友管理系统,以便让更多的开发人员体会到列表功能的强大和灵活性。


关键词:Python;列表;好友管理



DOI:10.19850/j.cnki.2096-4706.2022.15.002


课题项目:2020 年度山东省教育科学规划课题(2020ZC315);山东省本科高校教学改革研究项目(M2020222);2021 年度校级教学改革项目(2021JG03);山东华宇工学院课堂教学改革试点课程(2022KG-27)


中图分类号:TP311                                         文献标识码:A                                   文章编号:2096-4706(2022)15-0006-05


Design of Friendly Management System Based on Python Language

LIU Xiuli

(Shandong Huayu University of Technology, Dezhou 253034, China)

Abstract: Python is one of the mainstream programming languages, and list is the most flexible and commonly used data structure in Python. This paper makes an in-depth study on the relevant contents of the list, such as creating a list, accessing list elements, traversing the list, adding list elements, deleting list elements, modifying list elements, finding list elements and so on. And then it introduces the operations involved in the list with examples. Finally, using a comprehensive case, this paper analyzes and designs a friendly management system based on Python language, so as to let more developers realize the power and flexibility of the list function.

Keywords: Python; list; friendly management


参考文献:

[1] 葛日波,徐佳辉 .Python 中字符串切片技术在游戏开发中的应用研究 [J]. 计算机教育,2017(11):111-114.

[2] 黑马程序员 .Python 程序开发案例教程 [M]. 北京:中国铁道出版社有限公司,2019.

[3] 杨云江,龚良彩,谭杨,等 .Python 程序设计 [M]. 北京:清华大学出版社,2021.

[4] 薛景,陈景强,朱旻如,等.Python程序设计基础教程 [M].北京:人民邮电出版社,2018.

[5] 徐建忠,于广浩,吕思宁,等 .Python 语言中列表方法的探索 [J]. 智能计算机与应用,2019,9(6):156-159.


作者简介:刘秀丽(1981.03—),女,汉族,山东德州人,副教授,本科,研究方向:软件开发和数据库开发。