Python Forum
How do I add another loop to my nested loop
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I add another loop to my nested loop
#9
thanks for the reply,
sorry, if it is confusing.

3 runs are just an example, maybe I should not put it that way.
That is to explain what the file should read when it is time for the next run.

the file is going to be scheduled to run once a day.
so on day one, it should only read and use rows 1 and 2, (of all CSV files), assuming the given range is only 2 rows.
the next day it should read and use rows 3 and 4 ( of all CSV files), and so on for the next run to come, that is what I mean.

there could be hundreds of rows in CSV files, so on each run new data should be read and used.

thanks.
Reply


Messages In This Thread
RE: How do I add another loop to my nested loop - by greenpine - Jan-06-2021, 10:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  problem program runs in a loop jasserin 0 59 11 hours ago
Last Post: jasserin
  [SOLVED] Loop through directories and files one level down? Winfried 3 329 Apr-28-2024, 02:31 PM
Last Post: Gribouillis
  Loop through all files in a directory? Winfried 10 608 Apr-23-2024, 07:38 PM
Last Post: FortuneCoins
  for loop not executing Abendrot47 2 307 Apr-09-2024, 07:14 PM
Last Post: deanhystad
  Re Try loop for "net use..." failures tester_V 10 733 Mar-02-2024, 08:15 AM
Last Post: tester_V
  File loop curiously skipping files - FIXED mbk34 10 967 Feb-10-2024, 07:08 AM
Last Post: buran
  Optimise multiply for loop in Python KenBCN 4 532 Feb-06-2024, 06:48 PM
Last Post: Gribouillis
  Basic binary search algorithm - using a while loop Drone4four 1 441 Jan-22-2024, 06:34 PM
Last Post: deanhystad
  loop through csv format from weburl in python maddyad82 3 487 Jan-17-2024, 10:08 PM
Last Post: deanhystad
  Variable definitions inside loop / could be better? gugarciap 2 510 Jan-09-2024, 11:11 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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