在名稱後面加上單底線underscore的命名方法目的是避免與python keyword產生碰撞。 import keyword print('class' in keyword.kwlist) # True ...
確定! 回上一頁