splinepy.io.ioutils.next_line#
- splinepy.io.ioutils.next_line(f, comment='#')[source]#
Strips and returns next meaningful line from the opened, readable file. It tries 513 times before it says it is the end. If it is end, it will return None. This is to prevent never ending while loop.
- Parameters:
f (_io.TextIoWrapper)
comment (str) – A symbol that defines comment section. “#” is default.
- Returns:
next_meaningful_str
- Return type:
str