Learn how to use Python to translate between TCP/UPD port numbers and their names....
Tag: python
In this post we're going to write Python program that generates DSCP to ToS conversion table while avoiding hardcoding values as much as possible. We will then save the final table to csv file with pre-defined column headers....
In this post we focus on Jinja2 filters. We learn what filters are and how to use them. Then you will see how to write custom filters. We finish with usage examples for selected filters....
In this post we're looking at YAML anchors and aliases. We also look at different ways of stopping PyYAML from using references when serializing data structures....
Third post in the Jinja2 tutorial series deals with whitespace control. We learn where whitespaces come from and how to control them....