Retrieve protocol in lower case - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Retrieve protocol in lower case (/thread-17982.html) |
Retrieve protocol in lower case - Variables - May-02-2019 Hey guys, im trying to retrieve the protocol, but comes up in Uppercase, i need to retrieve it in lower case. This is my code. protocol = ip.get_proto(ip.p).__name__Thank you RE: Retrieve protocol in lower case - Larz60+ - May-02-2019 convert it using lower() |