469,592 Members | 1,713 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Client-side HTML form processing with Python?

I want to have an HTML form from a local local html file write a text
field's data to a local text file.

I have no client or server side tools like PHP, JAVA. I don't know
JavaScript. I can not add anything to the workstation I am using. It's
going to have to be a client-side solution - there's no CGI on the
server, no PHP.

It's XP with MS-Office, so I guess I have the usual active-x, and I
have Python 2.1.

Is there a way? Thanks,
Lee G.

Aug 4 '07 #1
2 1236
goldtech <go******@worldpost.comwrites:
I have no client or server side tools like PHP, JAVA. I don't know
JavaScript. I can not add anything to the workstation I am using. It's
going to have to be a client-side solution - there's no CGI on the
server, no PHP.
Oh wait, you're trying to write html on a remote web server that saves
files on the client? Hmm, what browser? Anyway you're going to have
to use browser scripting and use browser-dependent mechanisms to get
the user's permission to access the file system. It is messy but
necessary. Granting arbitrary file system access to remote web
servers would be a huge security hole.
Aug 4 '07 #2
Looks like Tkinter is the way to do it.

There's always a way with Python - good stuff!

Aug 4 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Raquel | last post: by
2 posts views Thread by Rhino | last post: by
8 posts views Thread by Ankit Aneja | last post: by
2 posts views Thread by Delmar | last post: by
14 posts views Thread by Ankit Aneja | last post: by
2 posts views Thread by J Huntley Palmer | last post: by
2 posts views Thread by Frank Swarbrick | last post: by
reply views Thread by khu84 | last post: by
2 posts views Thread by nsaffary | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.