cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

How can i read multiple files in a single directory using for loop?

vvenkatesan
1-Visitor

How can i read multiple files in a single directory using for loop?

I need to read more number of files in a single folder having common names only changes by numbering. In my prob, all the files have common name "level1,level2, level3" and so on. Can i use concat along with for loop or is there any option to read 82 files of this kind at a time?

2 REPLIES 2
StuartBruff
23-Emerald III
(To:vvenkatesan)

Yes, you can use concat in a for loop. There is no built-in multi-read function (as far as I'm aware).

Stuart

RichardJ
19-Tanzanite
(To:vvenkatesan)

Announcements

Top Tags