diff --git a/main.py b/main.py index 6dbd4e9823a24ec77c0d444c1145435223ebd8f8..6fb81ce9d55ea9e2e2065a9ab2a3538f4c1b7ccf 100644 --- a/main.py +++ b/main.py @@ -3,6 +3,7 @@ Created on Thu May 28 12:26:46 2020 @author: 陈嘉名 +@description: 爬取小说 """ import requests diff --git a/requirements.txt b/requirements.txt index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..86c871ed718be0d3f00192eb76bb61d2db17e0f2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -0,0 +1 @@ +lxml \ No newline at end of file diff --git a/test.tar.gz b/test.tar.gz deleted file mode 100644 index a5dedc4accc1a731c56769d5e75a314b9608f004..0000000000000000000000000000000000000000 Binary files a/test.tar.gz and /dev/null differ diff --git a/test01.py b/test01.py index 5b8b0153b5171e3f90c3b2a6f6d6358003766d4d..e58b36a8ab6ba86951b4ef788d2582b690b353f8 100644 --- a/test01.py +++ b/test01.py @@ -1,5 +1,5 @@ -from tkinter import * -root= Tk() -root.title('我的第一个Python窗体') -root.geometry('240x240') # 这里的乘号不是 * ,而是小写英文字母 x +from tkinter import * +root = Tk() +lb = Label(root,text='我是第一个标签',\bg='#d3fbfb',\fg='red',\font=('华文新魏',32),\width=20,\height=2,\relief=SUNKEN) +lb.pack() root.mainloop() \ No newline at end of file