Python Forum
Iterate through all files in a folder and make simple calculation
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Iterate through all files in a folder and make simple calculation
#3
Hi,

Files
is the folder which holds all the files that I want to iterate through.

Is
my_data
(line 5) supposed to equal the location of the .xlsx files that I want to iterate through?

DA
Reply


Messages In This Thread
RE: Iterate through all files in a folder and make simple calculation - by danielappleton - Apr-01-2020, 09:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [pyparsing] How to make my simple parser fault tolerant medihack 0 207 May-14-2024, 04:52 PM
Last Post: medihack
  Compare folder A and subfolder B and display files that are in folder A but not in su Melcu54 3 688 Jan-05-2024, 05:16 PM
Last Post: Pedroski55
  Rename files in a folder named using windows explorer hitoxman 3 843 Aug-02-2023, 04:08 PM
Last Post: deanhystad
  Rename all files in a folder hitoxman 9 1,678 Jun-30-2023, 12:19 AM
Last Post: Pedroski55
  How to loop through all excel files and sheets in folder jadelola 1 4,759 Dec-01-2022, 06:12 PM
Last Post: deanhystad
  python gzip all files from a folder mg24 3 4,355 Oct-28-2022, 03:59 PM
Last Post: mg24
  delete all files and subdirectory from a main folder mg24 7 1,748 Oct-28-2022, 07:55 AM
Last Post: ibreeden
  Merge all json files in folder after filtering deneme2 10 2,524 Sep-18-2022, 10:32 AM
Last Post: deneme2
  Make a python folder .exe Extra 0 1,070 Jun-10-2022, 01:20 AM
Last Post: Extra
  How would you (as an python expert) make this code more efficient/simple coder_sw99 3 1,882 Feb-21-2022, 10:52 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

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