python基礎和前端中英文對照

python吳彥祖發表於2018-10-11

python中英文對照

python 大蟒蛇
downlaods 下載
install 安裝
customize 自定義
path 環境變數:路徑
optional 可選的
feature 特性特點
documentation 文件
associate 關聯
shortcuts 快捷方式
setup 安裝
successful 成功
library 庫
scripts 指令碼
print 列印
hello world 你好,世界
commond 命令
power 能量
shell 殼
exit 退出

integer int 數字
string str 字串
define 定義
delete del 刪除
rencent 最近的(時間方面)
last 最後的
call 呼叫
IDE (integrate Development kit) 整合開發工具
tools 工具
professional 專業的
Development 開發
developer 開發者
community 社群
setup 安裝
guide 想到
installation 安裝
recommend 建議
application 應用
possible 可能
computer 電腦
next 下一步
break 中斷
length 長度 len()
parameter 引數 param
argument 引數
return 返回
define 定義 def
function 功能,函式
require 必須
miss 丟失
object 物件、事物
callable 可呼叫
default 預設的
follow 跟在…後面
recursion 遞迴
global 全球,全域性的
slice 切
remove 移除
list 列表
dict 字典
key 鍵
value 值
support 支援,具備…功能
assignment 分配,任務,工作
set 集合
operator 操作符
union 聯合, 並

pycharm

new 新建
directory 資料夾
file 檔案
copy 複製
cut 剪下
paste 貼上
refactor 修改
rename 重新命名
move 移動
font 字型
setting 設定
appearance 外觀
editor 編輯器
external 外部的
library 庫
console 終端、命令列
terminal 終端
todo 待辦事情
favorites 喜愛,收藏夾
structure 結構
view 檢視,瀏覽
edit 編輯
navigate 導航
code 程式碼
refactor 更改
run 跑,執行
tools 工具
windows 視窗 佈局
help 幫助
indent 縮排
expected 期待,預料
PEP8 python官方第8號檔案,規定了程式碼書寫風格
instance 例項
while 當…的時候
stop 停止
terminate 終止
interpreter 直譯器
range 範圍

前端

html 縮寫 Hyper text Markup Language:超文字標記語言
lang=“zh”

head:

head 頭部 html的開頭
meta charset 元字符集 例子:meta charset=“UTF-8”
title 標題 >

body:

body 身體 html的內容
##基礎屬性

用來定義文件的頁 有1到6從大到小
paragraph 段落

換行 attribate:屬性 值:value algin 對齊的 bold 加粗 italic 斜體 強壯 加重語氣 emphsized 強調 small 小 字型變小變細

horizon 水平分割線 style 樣式

超文字

anchor 連結 超連結
herf href屬性
target 目標 target=self 預設 blank新標籤頁
Title 標題 熱點區域 (點上去可以看見)
圖片

table 表格

border 邊界 邊框 border=“38px”
background 背景

table row 表格的每一行 table head表格的開頭 table date 表格列
colspan column span 列合併
rowspan row span 行合併

bgcolor 單元格顏色
background 背景顏色
border 邊框
cellpadding 文字與單元格之間的距離

圖片

img src img圖片 sample return container 樣品返回容器 返回的圖片
title 標題 圖片顯示失敗顯示的內容

列表

ol order list 有序列表

list 列表 列表中的每一項 type 屬性
unordered list 無序列表

表單

form 表格,表單,形式
label 標籤 使用者名稱
type 型別 例子:type=“text”
placeholder 佔位符 placeholder=“請輸入使用者名稱”
required 要求 required=“required” 輸入不能為空的意思
readonly 只讀 readonly=“readonly” 只讀此項
input 輸入
text 普通的文字輸入框 type=“text”
password 密碼輸入框
checkbox 多遠
value 價值 是傳入後臺的值
select 選擇
option 選項
textarea 文字域
submit 提交

佈局

divide 分割 class 班級,歸類 class可以命名多個一類相同的 id 地址 name 名字 size 尺寸 reset 重置

CSS

link 連結
rel relation目標檔案種類
href 目標檔案地址
type 檔案種類
style 方式
background-image 背景圖片
background-repeat:no-repeat 圖片是否重複
background-repeat:repeat-x 圖片變成一行
background-attachment: fixed 隨著滑鼠滑動
background-size: 用px 也可以用%
text-decoration: none 去除下劃線
text-align 對齊
text-indent 首行縮排
circle 圓圈
square 正方體,方格
hover 懸停 滑鼠停留是狀態
visited 參觀,訪問 點選之後狀態
active 積極起作用的 滑鼠按下時的啟用狀態
outline描邊
border 邊境,邊界
margin 邊緣
solid 實心線
dotted虛線
padding 墊襯,填充
font-size 字型大小
width: 寬度
height 高度
top 頂部
bottom 底部
padding-left: 填充左
padding-right: 填充右
padding-top: 填充頂部
padding-bottom: 填充底部
border-style: 邊框風格
solid 實心
border-width: 邊框寬度
border-color: 邊框顏色

相關文章