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
#6
thanks for coaching! I really appriciate it!
basically for each line in the first 'for' loop I reopen the second file till the second file has something to iterate. Right?
tried it, still prints:
-- 1

-- 2
and not :
--1
--2
--3

Thank you again!
Reply


Messages In This Thread
RE: Do not get how Python iterates over a file - by tester_V - Jan-27-2023, 08:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Still do not get how Python iterates over a file tester_V 13 3,781 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