Notebook
⌘Ctrlk
Notebook
  • Study hard and make progress every day
    • Windows Internal
    • AntiCheat
    • DriverDevelopment
    • Python
      • Python Tricks
        • 内置 http 服务器
        • 函数作为变量
        • "is" vs "=="
        • 直接变量值交换
        • 计算代码执行时间
        • 函数参数分解
        • 打印Python字典
        • 命名元组代替class
        • get()方法访问字典
        • 字典排序
        • 一次检查多个标志
        • 合并两个字典
        • re.sub使用替换函数
    • Algorithms
    • Python笔记
Powered by GitBook
For the complete documentation index, see llms.txt. This page is also available as Markdown.
  1. Mouka
  2. Python

Python Tricks

内置 http 服务器函数作为变量"is" vs "=="直接变量值交换计算代码执行时间函数参数分解打印Python字典命名元组代替classget()方法访问字典字典排序一次检查多个标志合并两个字典re.sub使用替换函数
PreviousPythonNext内置 http 服务器

Last updated 7 years ago