cdxing In solitude, where we are least alone
摘要: 【注: 以下示例python3版本】 示例一: import tkinter as tkapp = tk.Tk()app.title("FishC Demo")theLable = tk.Label(app, text="我的第二个窗口程序",width=20,height=10)#标签控件;可以显 阅读全文
posted @ 2017-07-10 18:25 cdxing 阅读(10234) 评论(0) 推荐(0)
摘要: 本节内容 列表、元组操作 字符串操作 字典操作 集合操作 文件操作 字符编码与转码 1. 列表、元组操作列表是我们最以后最常用的数据类型之一,通过列表可以对数据实现最方便的存储、修改等操作定义列表 names = ['Alex',"Tenglan",'Eric']通过下标访问列表中的元素,下标从0开 阅读全文
posted @ 2017-07-10 11:56 cdxing 阅读(299) 评论(0) 推荐(0)