Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
file open, find string and print(standard output)
#!/usr/bin/python
f = open('./Bookmarks.txt')
line = f.readline()
while line:
# print(line)
if line.find('url":') > 0:
print(line)
line = f.readline()
f.close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment