Hi everyone I'm new in python,
I need to read the first 10 line of multiple .txt files (from s1 to s50) in folder and save these values of each file in another file (separately) and then read the second 10 lines of (s1 to s50) then save the second 10 lines in separate files, and so on untill read all data of files.
To clarify more: every time 10 values from the files are read and they are stored in separate files
any help please?!
lena_ 0 Newbie Poster
rproffitt 2,693 https://5calls.org Moderator
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.