Y
Yazar Yolait
I want to skip lines in a file that are blank and that start with "&". So I
strip(None) them and then startswith("&") but the only problem is if the
line has nothing but white space and I strip(None) it then it contains
nothing but a new line character right? So how do I check if the line
contains a new line character? I can no longer use isspace().
strip(None) them and then startswith("&") but the only problem is if the
line has nothing but white space and I strip(None) it then it contains
nothing but a new line character right? So how do I check if the line
contains a new line character? I can no longer use isspace().