Python
中等
面试题库
Python
简单
Enum 枚举类如何定义和使用?
Python
简单
dataclass 装饰器有什么作用?
Python
中等
Python 类型注解(type hints)有什么作用?
Python
简单
pip、venv 与 requirements.txt 如何配合使用?
Python
简单
Python 包中的 __init__.py 有什么用?
Python
简单
if __name__ == '__main__' 的作用是什么?
Python
简单
如何自定义异常?
Python
中等
Python 异常处理中 finally 一定会执行吗?
Python
困难
Python 中 asyncio 与 async/await 如何工作?
Python
中等
生成器表达式与列表推导式有什么区别?
Python
中等