if [?f] 如果
else [els] 否則
while [wa?l] 當...的時候
for [f?:r] “對于”或“遍歷”,適合于
break [brek] 中斷
continue [k?n't?nju:] 繼續 con ti nue [k?n 't? nju:]
pass [pɑ:s] 通過
height [ha?t] 高度
weight [we?t] 重量
keyword ['ki:w?:d] 關鍵字 key word ['ki: w?:d]
width [w?dθ] 寬度
print [pr?nt] 打印,輸出
false [f?:ls] 假,錯誤的
true [tru:] 真,正確的
title ['ta?tl] 標題 ti tle ['ta? tl]
type [ta?p] 類型
Input ['?np?t] 輸入 in put ['?n p?t]
typeerror [ta?p ?er?(r)]類型錯誤 type er ror [ta?p ?e r?(r)]
float [fl??t] 浮動
file [fa?l] 文件
add [?d] 添加
none [n?n] 沒有一個
avg ['?vg] 平均值
close [kl??z] 關閉
false [f?:ls] 假,錯誤的
true [tru:] 真,正確的
else [els] 否則,其他
while [wa?l] 當.....的時候
sorted ['s?:t?d] 分類,整理;(根據指令的模式)把..分類;把...歸類;排序的
sor ted ['s?: t?d]
reversed ['ri:v?:st] 推翻;(使)反轉;(使)顛倒;(使)翻轉;顛倒的 re versed ['ri: v?:st]
enumerate [??nju:m?re?t] 列舉,枚舉, e nu me rate [?? nju: m? re?t]
import ['?mp?:t] 輸入;進口; im port ['?m p?:t]
append ['?p?nd] 附加;添加;貼上 ap pend ['? p?nd]
extend [?k'st?nd] 延伸;延長;伸展 ex tend [?k 'st?nd]
price [pra?s] 價格
sale [se?l] 賣,出賣;銷售額
set [s?t] 設置;放置,安置;集合;一套, 一副
remove [r?'mu:v] 去除;開除;卸載 re move [r? 'mu:v]
dictionary [?d?k??neri] 字典 dic tio na ry [?d?k ?? ne ri]
value ['v?lju:] 值 va lue ['v? lju:]
dict ['d?kt] 字典
zip [z?p] 拉鏈,在python中的意思:合并為一個新的迭代器
tuple ['t?pl] 元組 tu ple ['t? pl]
list [l?st] 列表
clear [kl??] 清除
default [d?'f?:lt] 系統默認值 de fault [d? 'f?:lt]
iteration [?t?'re??n] 迭代 i te ra tion [? t? 're? ?n]
string ['str??] 字符串
split [spl?t] 分割
join [d???n] 連接
count [ka?nt] 計數
find [fa?nd] 查找
index ['?ndeks] 索引
lower ['l???] 低級的 low er ['l?? ?]
upper ['?p?] 高級 的 up per ['? p?] 高級 的
strip [str?p] 去除
lstrip ['l?str?p] 只去掉左邊的 l strip ['l? str?p]
rstrip ['r?str?p] 只去掉右邊的 r strip ['r? str?p]
format ['f?:rm?t] 格式化 for mat ['f?:r m?t]
encode [?n?k??d] 編碼 en code [?n ?k??d]
sub [s?b] 代替
span [sp?n] 跨度
split [spl?t] 分割
decode ['di:k??d] 解碼 de code ['di: k??d]
match ['m?t?] 匹配
search ['s?:rt?] 搜索 s ear ch
TypeError [?ta?p?r?r] 類型錯誤 Type Er ror
parameter[p??r?m?t?r] 參數 pa ra me ter [p? ?r? m? t?r]
global ['gl??b?l] 全局的,設置全局變量,總體的 glo bal ['gl?? b?l]
init ['?n?t] 初始化 i nit ['? n?t]
self ['self] 自己;本人;本性
function ['f??k?n] 功能,作用;函數 func tion ['f??k ?n]
block [bl?k] 塊;阻止;阻塞;限制
protected ['pr?'tekt?d] 防護;保護 pro tec ted ['pr? 'tek t?d]
private ['pra?v?t] 私有的,私人的;秘密的 pri vate ['pra? v?t]
harvest ['hɑ:v?st] 收割,收成 har vest ['hɑ: v?st]
Modules ['m?dju:lz] 模塊 Mo du les ['m? dju: lz]
import ['?mp?:t] 輸入 im port ['?m p?:t]
random ['r?nd?m] 隨機的 ran dom ['r?n d?m]
Try [tra?] 試圖
except [?k'sept] 除...之外 ex cept [?k 'sept]
finally ['fa?n?li] 最后 fi nal ly ['fa? n? li]
raise ['re?z] “引發”或“拋出”
assert [??s??t]“斷言”或“斷定” as sert [? ?s??t]
File ['fa?l] 文件
open ['??p?n] 打開 o pen ['?? p?n]
close [kl??z] 關閉
with [w?e] 伴隨
write [ra?t] 寫
read [ri:d] 讀取
seek [si:k] 尋找
exist [?ɡ'z?st] 存在 ex ist [?ɡ 'z?st]
mkdir ['m?k'd??] 創建一個新的子目錄 mk dir ['m?k 'd??]
walk [w?:k] 走
rename ['ri:ne?m] 重新命名 re name ['ri: ne?m]
static ['st?t?k] 靜態 sta tic ['st? t?k]
Connection ['k??n?k?n] 連接;聯系,關系;連接點 Con nec tion ['k? ?n?k ?n]
insert ['?n's?:t] 插入;嵌入;添加;加插 in sert ['?n 's?:t]
into ['?nt?] 進入...中 in to ['?n t?]
execute ['eks?kju:t] 執行;完成;履行 ex e cute ['ek s? kju:t]
result ['r?'z?lt] 結果 re sult ['r? 'z?lt]
update ['?p'de?t] 更新,校正,修正 up date ['?p 'de?t]
root ['ru:t] 根,根源; ?
frame ['fre?m] 框架
parent ['pe?r?nt] 父,上層 pa rent ['pe? r?nt]
title ['ta?tl] 標題 ti tle ['ta? tl]
size [sa?z] 尺寸
name [ne?m] 名字
label ['le?bl] 標簽 la bel ['le? bl]
button ['b?t?n] 按鈕 but ton ['b? t?n]
add [?d] 添加
display ['d?'sple?] 顯示; dis play ['d? 'sple?]
event ['i:vnt] 事件 e vent ['i: v?nt] [vnt]=[v?nt]
screen ['skri:n] 屏幕
image ['?m?d?] 圖片,影像;鏡像,映像 i mage ['? m?d?]
load [l??d] 加載;裝載
surface ['s?:f?s] 表面;外觀,外表 sur face ['s?: f?s]
flip [fl?p] 輕彈,輕擊;按(開關)
speed [spi:d] 速度;快速
requests ['ri:kwests] 請求 re quests ['ri: kwests]
header ['hed?r] 頭部 hea der ['he d?r]
timeout ['ta?'ma?t] 超時 ti meout ['ta? 'ma?t] 或 time out
checkbox ['t?ek?b?ks] 復選框 check box ['t?ek ?b?ks]
multiprocessing [m?lt?'pr??ses??] 多重處理
mul ti pro ces sing [m?l t? 'pr?? se s??]
multiprocess ['m?lt?'pr??ses] 多進程 mul ti pro cess ['m?l t? 'pr?? ses]
Process ['pr??ses] 處理 Pro cess ['pr?? ses]
Queue ['kju:] 隊列 最后面的“ue”不發音
SubProcess ['s?b'pr??ses] 子過程 Sub Pro cess ['s?b 'pr?? ses]
Pipes ['pa?ps] 管道
threading ['θred??] 線程處理 threa ding ['θre d??]
random ['r?nd?m] 隨機的 ran dom ['r?n d?m]
socket ['s?k?t] 套接口 so cket ['s? k?t]
sendto ['sendtu:] 發送到 send to ['send tu:]
byte [ba?t] 字節
Web [web] 網
style ['sta?l] 類型
link ['l??k] 聯系
route ['ru:t] 路徑
block ['bl?k] 塊
xtends [?k'st?ndz] 繼承
validators ['v?l?de?t?z] 驗證器 va li da tors ['v? l? de? t?z]
Required [r?'kwa??rd] 請求 Re qui red [r? 'kwa? ?rd]
Flask ['fl?sk] 是一個用 Python 編寫的輕量級 Web 應用框架。[vnt]=[v?nt]
[tl]=[t?l]
[pl]=[p?l]
[?n]=[??n]execute 劃分為哪幾個音節?在Python編程中,zip() 函數是一種內置函數,主要用于將兩個或多個可迭代對象(如列表、元組等)合并為一個新的迭代器。
names = ['Alice', 'Bob', 'Charlie']
ages = [25, 30]
zipped = zip(names, ages)
zipped_list = list(zipped)
print(zipped_list)
# 輸出:[('Alice', 25), ('Bob', 30)]