Commit 7409072b by BellCodeEditor

save project

parent 77aa1e34
Showing with 2 additions and 2 deletions
import tkinter import tkinter
from tkinter import * from tkinter import *
alist = ["星期六下午打篮球", "星期天下午和old six一起看电影", alist = ["星期六下午蔡徐坤鸡你太美", "星期天下午和old six一起看电影",
"12月18日给old eight过生日","12.24送big clever圣诞礼物"] "12月18日给old eight过生日","12.24送big clever圣诞礼物"]
class Note(): # 便签、笔记 class Note(): # 便签、笔记
...@@ -26,7 +26,7 @@ class Note(): # 便签、笔记 ...@@ -26,7 +26,7 @@ class Note(): # 便签、笔记
self.but.place(x=240, y=305) self.but.place(x=240, y=305)
self.y=20 self.y=20
for info in alist: for info in alist:
self.canvas.create_text(40,self.y,text=info,font=('楷体',11),anchor=W,fill='#FF9900') self.canvas.create_text(40,self.y,text=info,font=('楷体',11),anchor=W,fill='#000055')
self.y+=30 self.y+=30
def get_info(self): def get_info(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment