By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,097 Members | 1,580 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,097 IT Pros & Developers. It's quick & easy.

Client-side HTML form processing with Python?

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.