Advertisement
Guest User

Untitled

a guest
May 20th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. def main():
  2. f = open("C:\\Users\\Svotin\\Downloads\\20_dlinny.lvm", 'r')
  3. lines = f.readlines()
  4. for i in lines:
  5. text = i.replace(' ', ':').replace('\t', ':').split(':')
  6. if text.__len__() > 1:
  7. print(text[1])
  8. else:
  9. print("Ошибка ебанная - ", end = '')
  10. print(text)
  11.  
  12. if __name__ == '__main__':
  13. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement