Linux Hint published three new Python tutorials: Send and receive UDP packets via Python, Python String Formatting, and Split String in Python.
Send and receive UDP packets via Python
We already know about two main transport layer protocols like TCP and UDP. For more information about TCP and UDP you can check reference section. In this article we will learn how to send and receive UDP packets using python program.
Send and receive UDP packets via Python – Linux Hint
Python String Formatting
The string formatting can be done in Python in various ways, such as using '%’ symbol, format() method, string interpolation, etc. This article shows how the string data can be formatted in Python by using different string formatting methods.
Python String Formatting – Linux Hint
Split String in Python
the split() method is used in Python also to divide a string into words and it returns a list of words based on the separator. How to split() method can be used in Python is shown in this article by using different examples.
Split String in Python – Linux Hint