Friday, October 7, 2022

Type checking with mypy and Type hints

 Hi,

Today I'm gonna show you type hints in python. 

Firstly you should install mypy

pip install mypy


Here is the example:


Basically we are defining to data types.

 For more information link is below:

http://mypy-lang.org/

No comments:

Post a Comment

file tree for nodejs project

 find . \( -path "*/node_modules" -o -path "*/.git" \) -prune -o -print | tree -a -I 'node_modules|.git'