script delimiters

Ian Lipsky NOSPAM at pacificnet.net
Thu Oct 19 20:40:39 EDT 2000


If replying via email please replace NOSPAM with merk

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.
 What i wanted to know if there was someway to shorten this down to using
delimiter characters?

So i could do something like:

<% if something: %>
    some html text saying something is true
<%else:%>
    some html text saying something isnt true

rest of my html

Basically, i want to know if there is a way to have some python script pages
that i could lay out similar to asp pages. Not sure if the scenario i listed
aboe is possible given how indentation works in python.

If replying via email please replace NOSPAM with merk

thanks





More information about the Python-list mailing list