Python 3.13 Release November 2025 Online

# TypedDict ReadOnly class Config(TypedDict): name: str version: ReadOnly[int]

# New random function print(f"Binomial: random.binomialvariate(10, 0.5)")

# New pathlib src = Path("temp.txt") src.write_text("hello") dst = Path("temp_copy.txt") src.copy(dst) # New in 3.13 print(dst.read_text())

# TypedDict ReadOnly class Config(TypedDict): name: str version: ReadOnly[int]

# New random function print(f"Binomial: random.binomialvariate(10, 0.5)")

# New pathlib src = Path("temp.txt") src.write_text("hello") dst = Path("temp_copy.txt") src.copy(dst) # New in 3.13 print(dst.read_text())