469,935 Members | 1,983 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,935 developers. It's quick & easy.

Re: Connecting a Desktop App to a Web App

Okay, this is my first post to this mailing list, so first off if I
shouldn't be sending something here, PLEASE correct me. Okay, so I
want to create an app that has a GUI (most likely Tkinter) and will
prompt the user to choose files and such and then will upload those
files, either regularly or one time, whatever. But I don't know how to
go abou doing such a thing, that is creating a app that will
automatically upload to a back-up website(online storage). So if
anyone can help me out or point me in the right direction that would
be great. Thanks!
There are two cases: (1) you are in control of the web app (2) you are
not in control of the web app.

(1) So you need to make the web app yourself too. There are several
options for this the most popular ones are django and turbogears. For
more see http://wiki.python.org/moin/WebFrameworks Once you have your
web app up and running you can connect to it using some modules in the
stdlib: http://docs.python.org/lib/module-urllib2.html
http://docs.python.org/lib/module-httplib.html Basically you just
create http requests in your desktop app and send those just as a
browser would do.

(2) You need to figure out the API of the web app you want to connect
to. Once you have that use the stdlib modules to create the
appropriate http requests just as above.

Psss, psss, put it down! - http://www.cafepress.com/putitdown
Jun 27 '08 #1
0 648

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Dishaa V | last post: by
1 post views Thread by Dishaa V | last post: by
5 posts views Thread by Sebastian | last post: by
5 posts views Thread by Jeff Richardson | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.