Python Cheat Sheet BlogTag python
Finally, in this third part, we'll write a sample library, build our project with Poetry and publish it on Pypi.
In this second part, we'll add our virtual Environment to VSCode, update our dependencies and integrate Flake8, Black and Pytest with the editor.
In this short article, we are going to make some for loops and rewrite them, step by step, into comprehensions. If everything goes well, at the end and as a bonus, we will know how to do the same with sets and dictionaries.
*args and **kwargs may seem scary, but the truth is that they are not that difficult to grasp and have the power to grant your functions with flexibility and readability.