[Tkinter-discuss] Dragging and dropping into a database

Bob Greschke bob at passcal.nmt.edu
Tue May 2 10:28:19 EDT 2017


> On 2017-05-01, at 23:58, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> 
> Bob Greschke wrote:
>> I guess I could give everyone a little utility that produces a uuencode'd
>> file from their .gif, or whatever, on their Desktop, and then they copy and
>> paste the contents of that into a program's Toplevel/Text()
> 
> What's wrong with giving the user a tk file chooser to select the file?
> 
> -- 
> Greg

Hi!

Oh, because the Python/Tkinter program isn't running on the user's machine. It's actually running on the remote server, so any files they can select will only be on the server. I'm trying to get a file on, let's say, their ~/Desktop.

Bob




More information about the Tkinter-discuss mailing list