I'm new to Mathematica. I'm trying to write a script that automatically imports a bunch of .txt files from a directory into different lists.
The files are labeled fileXX.txt where XX are numbers 00 to 10. I'd like to label the lists as listXX. I'm having trouble with 2 things.
1.How to make the loop variable part of the filename and the listname? I tried StringJoin <> but it doesn't work.
2.How to make XX 2-digits always? As in 03 instead of 3, and 04 instead of 4, etc.
Do[list<>XX<>= Import["/directory/file"<>XX<>".txt"],{XX,0,10}];
Thanks in advance!
