📄 cycler.py
字号:
class cycler: def __init__(self, state1, state2): self.state1 = state1 self.state2 = state2 self.current = state1 def __str__(self): if self.current == self.state1: self.current = self.state2 else: self.current = self.state1 return self.current def getcurrent(self): return self.current
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -