program organization question for web development with python

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sun Sep 19 13:29:44 CEST 2010

In message
<6102316a-d6e6-4cf2-8a1b-ecc5d3247c29 at>, Hans 

> print """<a href="">%s</a>""" %
> (record[0],table_name,cursor_name,record1)

I would recommend avoiding filename extensions in your URLs wherever 
possible. For executables, in particular, leaving out the “.py” or “.pl” or 
whatever makes it easier to switch languages, should you need to in future.

More information about the Python-list mailing list