I have a large .xyz file with 6.24M lines, I want to take every 30th chunk (chunk = 624 lines) and save it into a separate file using python.
.xyz
One chunk will