Hello,
I'm having trouble with the output from askopenfilenames...:
---
root = tkinter.Tk()
root.withdraw()
files = tkinter.filedialog.askopenfilenames(parent=root,
title='Choose file(s)')
if not files:
tkinter.messagebox.showerror("No input file", "No input file
given
On Apr 1, 8:10 am, jay logan wrote:
> On Apr 1, 11:05 am, jay logan wrote:
>
>
>
> > On Apr 1, 2:35 am, daku9...@gmail.com wrote:
>
> > > On Mar 31, 6:47 pm, "Rhodri James"
> > > wrote:
>
> > > > What you're doing (pace error checking) seems fine for the data
> > > > structures that you're using
On Mar 31, 6:47 pm, "Rhodri James"
wrote:
> What you're doing (pace error checking) seems fine for the data
> structures that you're using. I'm not entirely clear what your usage
> pattern for "dip" and "dir" is once you've got them, so I can't say
> whether there's a more appropriate shape for
There has got to be a better way of doing this:
I'm reading in a file that has a lot of garbage, but eventually has
something that looks similar to:
(some lines of garbage)
dip/dir.
(some more lines of garbage)
55/158
(some more lines of garbage)
33/156
etc.
and I'm stripping out the 55/158 value