472,126 Members | 1,436 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,126 software developers and data experts.

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 1258
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.