搜尋此網誌

2026年11月3日星期二

雲氣紋

雲氣紋是中國古代藝術中非常常見的裝飾紋樣,以流動、捲曲的線條表現雲氣升騰的形態。

常見形態:

  • S 形曲線
  • C 形捲曲
  • 渦旋狀線條
  • 連續波浪形
Microsoft Copilot

Errors and exceptions

Both errors and exceptions indicate that something has gone wrong in a program, but an exception is a specific type of error that Python can handle.


BaseException is the top-most class for all exceptions in Python.

BaseException
│
├── Exception
│   ├── ValueError
│   ├── TypeError
│   ├── IndexError
│   ├── KeyError
│   └── ZeroDivisionError
│
├── SystemExit
├── KeyboardInterrupt

└── GeneratorExit

A stack trace is a report that shows the sequence of function calls that led to an error.

It helps programmers answer:

"Where did the error happen, and how did the program get there?"


A nested call happens when one function calls another function, which may call another function, and so on.

def c():
    print("In c")
def b():
    c()
def a():
    b()

execution flow
a()
 ↓
b()
 ↓
c()
Here, a() calls b(), and b() calls c(). These are nested function calls.

intimidating: frightening in a way that makes a person feel less confident

try:
    1/0
except Exception as e:
    print(type(e))

ZeroDivisionError is a subclass of Exception
The variable e refers to the exception object.
e = exception object
type(e) = ZeroDivisionError

Microsoft Copilot

刁斗

鐎斗(讀音:焦斗,jiāo dǒu)是中國漢代至六朝時期常見的一種生活器具,外形有點像帶柄的小鍋。

典型鐎斗具有:

  • 圓腹
  • 三足(有時無足)
  • 長柄
  • 側邊有流口(倒水口)

Microsoft Copilot

陶瓷術語二十七

鉛釉陶是指在陶器表面施加含鉛釉料後燒製而成的陶器。

簡單來說:

鉛釉陶 = 陶器胎體 + 含鉛釉層

Microsoft Copilot

陶瓷術語二十六

小鈕 是考古學、陶瓷和青銅器描述中常見的術語。

「鈕」指的是:

器蓋或器物表面凸起、供手指捏握的突出部分。

而「小鈕」就是:

體積較小的鈕狀把手或捏手。

Microsoft Copilot

陶瓷術語二十五

外撇三足 是考古學和文物描述中的兩個形制特徵組合:

外撇:向外傾斜、向外張開。

三足:器物底部有三隻支腳。

Microsoft Copilot

魚簍

魚簍(又寫作「魚籠」)原本是古代漁民用來盛載或捕捉魚類的容器,通常以竹、藤、柳條等材料編製而成。

基本形狀

魚簍一般具有:

  • 上窄下寬
  • 腹部較鼓
  • 口部較小
Microsoft Copilot