Advertisement
Guest User

Untitled

a guest
Apr 20th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. file = open('genbank.txt').read()
  2.  
  3.  
  4. location = file.find('AUTHORS')
  5. print(file.count('AUTHORS'), location, file.rstrip('\n'))
  6.  
  7. string1 = file[568:650]
  8. authors_string = string1.replace("\n", "")
  9.  
  10.  
  11. print(authors_string)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement