You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ip file is too big, such as 1.5GB
lines = self.src_handle.read().splitlines() will crash
it can work when i modify to:
# lines = self.src_handle.read().splitlines()
while True:
# for line in lines:
line = self.src_handle.readline().strip("\n")
if not line:
break
The text was updated successfully, but these errors were encountered:
if ip file is too big, such as 1.5GB
lines = self.src_handle.read().splitlines() will crash
it can work when i modify to:
# lines = self.src_handle.read().splitlines()
while True:
# for line in lines:
line = self.src_handle.readline().strip("\n")
if not line:
break
The text was updated successfully, but these errors were encountered: