script delimiters

Richard Brodie R.Brodie at rl.ac.uk
Fri Oct 20 06:00:12 EDT 2000


"Ian Lipsky" <NOSPAM at pacificnet.net> wrote in message
news:bwMH5.400$rD3.43349 at newsread2.prod.itd.earthlink.net...

> Right now (although i havent tried this) i think i should be able to create
> html files and put <script></script> tags within the html to execute python
> code.

Using <script> tags is the appropriate way for client side scripting. It would
be legitimate HTML but only work with Python enabled browsers.

If you are preprocessing the page before sending it to the client, it doesn't
really matter what the format looks like beforehand. It's just a question of
finding a server side extension that will do the job for you.





More information about the Python-list mailing list