- 学习路线
- RT-Thread 简介
- RT-Thread Nano
- RT-Thread Smart
- RT-Thread Studio
- 快速上手
- 内核
- Env 工具
- 设备和驱动
- 组件
- 软件包
- 物联网
- 工具
- MicroPython用户手册
- 应用开发
- RT-Thread 版本选择
- 开发环境搭建
- 固件尺寸优化
- 在RT-Thread潘多拉开发板上实现电源管理
- 网络协议栈驱动移植
- 在STM32F429上应用网络功能
- 在STM32F429上应用文件系统
- 在潘多拉上使用 SFUD 操作 Flash
- FreeModbus 应用笔记
- 应用AT组件连接ESP8266模块
- 多线程非阻塞网络编程
- 使用QEMU运行动态模块组件
- CmBacktrace应用
- 在 STM32L4 上应用 littlefs 文件系统
- STM32通用Bootloader
- wireshark抓取tls数据包
- 在 STM32 上应用 C++
- STM32 上使用 PWM
- STM32 上使用 USB Host 读写 U 盘
- QEMU 网络视频教程
- Demo 示例
- 其他
- 传感器驱动开发指南
- 软件包开发
- 向RT-Thread贡献代码
- 内核视频教程
- Env 视频教程
- rw007 SPI WiFi 模块使用
- wireshark抓取tls数据包
- Keil MDK 安装
- Rtthread dir
- 支持的传感器列表
- 支持的 Touch 列表
- Builtin functions and exceptions
- Cmath
- Gc
- Math
- Sys
- Uarray
- Ubinascii
- Ucollections
- Uerrno
- Uhashlib
- Uheapq
- Uio
- Ujson
- Uos
- Ure
- Uselect
- Usocket
- ussl – SSL/TLS 模块
- Ustruct
- Utime
- Uzlib
- thread
- micropython – 内部功能访问与控制模块
- Rtthread
- Machine
- Pin
- I2C
- SPI
- UART
- LCD
- RTC
- PWM
- ADC
- WDT
- Timer
- Network
- Wlan
- 传感器驱动框架介绍
- Preparations
文章来源于网络收集而来,版权归原创者所有,如有侵权请及时联系!
Builtin functions and exceptions
所有的内饰函数和异常类型都在下面描述。
函数和类型
- abs()
- all()
- any()
- bin()
- class bool
- class bytearray
- class bytes
- callable()
- chr()
- classmethod()
- compile()
- class complex
delattr(obj, name)
class dict
dir()
divmod()
- enumerate()
- eval()
- exec()
- filter()
- class float
- class frozenset
- getattr()
- globals()
- hasattr()
- hash()
- hex()
- id()
- input()
- class int
- classmethod from_bytes(bytes, byteorder) In MicroPython, byteorder parameter must be positional (this is compatible with CPython).
to_bytes(size, byteorder) In MicroPython, byteorder parameter must be positional (this is compatible with CPython).
isinstance()
- issubclass()
- iter()
- len()
- class list
- locals()
- map()
- max()
- class memoryview
- min()
- next()
- class object
- oct()
- open()
- ord()
- pow()
- print()
- property()
- range()
- repr()
- reversed()
- round()
- class set
- setattr()
- class slice
- The slice builtin is the type that slice objects have.
- sorted()
- staticmethod()
- class str
- sum()
- super()
- class tuple
- type()
- zip()
异常类型
- exception AssertionError
- exception AttributeError
- exception Exception
- exception ImportError
- exception IndexError
- exception KeyboardInterrupt
- exception KeyError
- exception MemoryError
- exception NameError
- exception NotImplementedError
- exception OSError
See CPython documentation: OSError. MicroPython doesn’t implement errno attribute, instead use the standard way to access exception arguments: exc.args[0].
exception RuntimeError
- exception StopIteration
- exception SyntaxError
- exception SystemExit
See CPython documentation: SystemExit.
exception TypeError
See CPython documentation: TypeError.
exception ValueError
- exception ZeroDivisionError
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论