Ser1ousSAM

Offset descr

Jul 9th, 2023
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. file_path = 'Strip_descriptions.txt'
  2. with open(file_path, 'r', encoding="utf8") as file, open('Offset_descriptions.txt', 'w', encoding="utf8") as new_file:
  3. count = 1
  4. need_titles = 3025
  5. for line in file:
  6. if count > need_titles:
  7. break
  8. count += 1
  9. new_file.write(line)
  10. print("Nice")
Advertisement
Add Comment
Please, Sign In to add comment