Python Forum
Do not get how Python iterates over a file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Do not get how Python iterates over a file
#9
(Jan-27-2023, 07:02 PM)tester_V Wrote: what about printing the rest of the file1, that is :

well, there is no "rest of the file1" as per your first post...


(Jan-27-2023, 06:32 AM)tester_V Wrote: File1:
1
2
3

And frankly, I am not sure I understand what you try to do. And file1 being exact subset of file2 does not help either to make it more clear.
tester_V likes this post
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
RE: Do not get how Python iterates over a file - by buran - Jan-27-2023, 07:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Still do not get how Python iterates over a file tester_V 13 3,861 Aug-24-2021, 05:10 AM
Last Post: naughtyCat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020