or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
NKUST ITC 108-1 Python[4]
https://python-slide.macs1207.dev
2019/11/19
tags:
NKUST ITC
Python 社課
Github
下半學期進度(超理想)
DOM解析
DOM?
HTML
HTML由以下3種東西組成
採用BeautifulSoup
也可以直接讀取html檔案
尋找單一元素
尋找所有元素
尋找所有超連結
更好用的css selector
如上的html文件,只要這樣就能取出div的內容
為何?
在css selector中
故 class="content"在css selector中只要用
就可以表示
練習1
做完了不知道要做什麼的做這個
API
API?
為何需要API?
又以天氣為例
換各位練習看看
延伸閱讀
RESTful API
DevFest 高雄場
Discord
Telegram
作者
參考資料