Aug-16-2017, 12:02 PM
(This post was last modified: Aug-16-2017, 12:02 PM by sparkz_alot.)
You need to help us in order for us to help you. That starts by properly posting your code. As it is, you have no indentation. When you say "...the code doesn't work", be specific. What doesn't work? If you get an output, what is the output. If you get an error, what is the error.
What is "list" supposed to do?
What is "for True:" supposed to do?
Where are you getting "SourceAddress" from?
Where are you getting "TOS" from?
Comparisons use a double equal sign, not a single one.
What is "list" supposed to do?
What is "for True:" supposed to do?
Where are you getting "SourceAddress" from?
Where are you getting "TOS" from?
Comparisons use a double equal sign, not a single one.
if value == another_value:You declare largest as numeric and var as a string, than try to compare them, this will cause an error.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition