---
title: "Discussion on \"Useful lesser known Python types\" | Hashnode"
description: "Discussion on \"Useful lesser known Python types\". Final\nfrom typing import Final\n\n_PI: Final[float] = 3.14\n\nHashable\nfrom typing import Any, Dict\nfrom collections.abc import Hashable\n\nmy_dict: Dict[Hashable, Any]\n\nTypedDict\n# Python >= 3.11\nfrom typing import Optional, NotRequired, TypedDict\n\n# Pyth..."
url: "https://hashnode.com/posts/useful-lesser-known-python-types/66229ff7e5a43920896b343a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Useful lesser known Python types](https://fullchee.hashnode.dev/useful-lesser-known-python-types?utm_source=hashnode&utm_medium=feed)

Final from typing import Final \_PI: Final\[float\] = 3.14 Hashable from typing import Any, Dict from collections.abc import Hashable my\_dict: Dict\[Hashable, Any\] TypedDict # Python >= 3.11 from typing import Optional, NotRequired, TypedDict # Pyth...

Apr 19, 2024 · 1 min read · fullchee.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#type-hinting](https://hashnode.com/tag/type-hinting)

## Written by

[Fullchee Zhang](https://hashnode.com/@Fullchee)

@Fullchee · Toronto, Canada

  
[View profile](https://hashnode.com/@Fullchee)

Full Stack Dev at Forma AI

React, Django and SQL developer at Forma.ai

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
