Re: [Tutor] How to list/process files with identical character strings

2014-06-25 Thread Alex Kleider
On 2014-06-25 00:35, Wolfgang Maier wrote: On 25.06.2014 00:55, Alex Kleider wrote: I was surprised that the use of dictionaries was suggested, especially since we were told there were many many files. The OP was talking about several thousands of files, which is, of course, too many for man

Re: [Tutor] tkinter.filedialog?

2014-06-25 Thread Jim Byrnes
On 06/25/2014 02:36 AM, Alan Gauld wrote: On 25/06/14 02:37, Jim Byrnes wrote: >>> import tkinter.filedialog >>> filetypes = [("Python files", "*.py"), ("Text files", "*.txt")] >>> fileName = tkinter.filedialog.askopenfilename(filetypes = filetypes) It pops up a file dialog but again only .

Re: [Tutor] How to list/process files with identical character strings

2014-06-25 Thread Wolfgang Maier
On 25.06.2014 00:55, Alex Kleider wrote: I was surprised that the use of dictionaries was suggested, especially since we were told there were many many files. The OP was talking about several thousands of files, which is, of course, too many for manual processing, but is far from an impressi

Re: [Tutor] tkinter.filedialog?

2014-06-25 Thread Alan Gauld
On 25/06/14 02:37, Jim Byrnes wrote: >>> import tkinter.filedialog >>> filetypes = [("Python files", "*.py"), ("Text files", "*.txt")] >>> fileName = tkinter.filedialog.askopenfilename(filetypes = filetypes) It pops up a file dialog but again only .py files are shown. Why is it that both .p

Re: [Tutor] How to list/process files with identical character strings

2014-06-25 Thread Peter Otten
Alex Kleider wrote: > On 2014-06-24 14:01, mark murphy wrote: >> Hi Danny, Marc, Peter and Alex, >> >> Thanks for the responses! Very much appreciated. >> >> I will take these pointers and see what I can pull together. >> >> Thanks again to all of you for taking the time to help! > > > Assum