types

Stdlib — DataPython 2.0+Intermediate

Names for built-in types and dynamic type creation utilities

Quick Info

Documentation
Official Docs
Python Version
2.0+
Dependencies
None — Python Standard Library
Install
Included with Python

Learn by Difficulty

Quick Example

python
import types

print(f"Module: types")
print(f"Contents: {dir(types)[:10]}")

The types module is part of Python's standard library. Names for built-in types and dynamic type creation utilities.

Try in Playground

Tags

stdlibdata-structure