Tkinter, X-windows and ebay

Cameron Laird claird at lairds.us
Thu Feb 9 17:08:03 EST 2006


In article <1tqdncP3Ps7s6XfenZ2dnUVZ_tGdnZ2d at nmt.edu>,
Bob Greschke <bob at passcal.nmt.edu> wrote:
>When you post something on eBay (and other places) you can use a 'browse' 
>button on a web page to send a picture file from your hard drive to them for 
>inclusion in your listing.  Can the same kind of thing (not the same exact 
>thing, of course) be done with a Python/Tkinter program that is running on a 
>remote machine (that you logged into to start the program), but that's just 
>using your computer's display (with X11 on a Mac, X-whatever on Linux, 
>X-Win32 on Windows, etc.)?  I've got an inventory program that runs this way 
>and it would be nice if users could create a text file on their machine, but 
>then have the program read that file and, for example, update item 
>quantities according to information in that file.  Things like that.
			.
			.
			.
In a fairly well-defined sense, no; an X server isn't privileged,
in general, to access the host filesystem.  This is a *benefit* 
for security reasons.

I'm sympathetic with your desire.  One of us should return to the
topic later on variations that might suit you.



More information about the Python-list mailing list