Re: Selecting a file in a directory

2010-02-13 Thread rantingrick
On Feb 13, 8:00 pm, vsoler wrote: > On Feb 14, 2:45 am, rantingrick wrote: (..snip..) > Excellent!!! Just what I needed! For your case, since it seems you are writing a "console type" application you may want to subdue the root window and show the user a file dialog window *only*. You can do t

Re: Selecting a file in a directory

2010-02-13 Thread vsoler
On Feb 14, 2:45 am, rantingrick wrote: > On Feb 13, 7:28 pm, "Alf P. Steinbach" wrote: > > > > > * vsoler: > > > > Hi, > > > > My python script needs to work with a .txt file in a directory. I > > > would like to give the user the possibility to choose the file he > > > needs to work on in as muc

Re: Selecting a file in a directory

2010-02-13 Thread rantingrick
On Feb 13, 7:28 pm, "Alf P. Steinbach" wrote: > * vsoler: > > > Hi, > > > My python script needs to work with a .txt file in a directory. I > > would like to give the user the possibility to choose the file he > > needs to work on in as much the same way as I open a .xls file in > > Excel, that is

Re: Selecting a file in a directory

2010-02-13 Thread Steven D'Aprano
On Sat, 13 Feb 2010 17:21:51 -0800, vsoler wrote: > Hi, > > My python script needs to work with a .txt file in a directory. I would > like to give the user the possibility to choose the file he needs to > work on in as much the same way as I open a .xls file in Excel, that is, > I want to make ap

Re: Selecting a file in a directory

2010-02-13 Thread vsoler
On Feb 14, 2:28 am, "Alf P. Steinbach" wrote: > * vsoler: > > > Hi, > > > My python script needs to work with a .txt file in a directory. I > > would like to give the user the possibility to choose the file he > > needs to work on in as much the same way as I open a .xls file in > > Excel, that is

Re: Selecting a file in a directory

2010-02-13 Thread Alf P. Steinbach
* vsoler: Hi, My python script needs to work with a .txt file in a directory. I would like to give the user the possibility to choose the file he needs to work on in as much the same way as I open a .xls file in Excel, that is, I want to make appear the "Windows'" window and let the user choose.