Python
Flask Templates with Jinja2 Explained in Detail
Jinja2 is python based template engine used in flask, it is built in flask, so you do not need to download a separate package to use jinja2 with flask, it is …
Python add to dictionary examples (7 different methods)
In this tutorial we have explored 7 different ways for python add to dictionary with examples. You can use dict.update(), dict[key] =value, dict.setdefault(), …
The Ultimate Guide to Python Argparse: No More Excuses!
Python argparse, supplies a host of features, making it easy to add argument handling to scripts. You can make arguments required or optional, have the user …
10 simple ways to sort dictionary by key in Python
After Python 3.6, now dictionary can remember the order in which items are added. So we can easily sort dictionary by key using sorted() and many other modules …
Python concatenate lists | combine & merge lists | 8 methods
In this tutorial we will explore different methods to combine lists in Python. This can also be referred as concatenating two or more lists, or merging multiple …
