Jan-23-2019, 02:44 PM
Note that
if 'Application name' and 'null' in line:may note behave as you expect
'Application name'
is non-empty string so it is always considered True. That's why your condition is effectivery justif 'null' in line:If you want both 'Application name' and 'null' to be present in the line, then use
if 'Application name' in line and 'null' in line:
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs