Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def main():
- #read file
- file = open("genbank.txt")
- lines = file.read()
- file.close()
- #look for patterns
- for line in lines:
- line = line.rstrip()
- if not line.startswith('AUTHORS'): continue
- words = line.split()
- print(words[1])
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement