program organization question for web development with python
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Sun Sep 19 07:29:44 EDT 2010
In message
<6102316a-d6e6-4cf2-8a1b-ecc5d3247c29 at w15g2000pro.googlegroups.com>, Hans
wrote:
> print """<a href="display_tb.py?id=%s&table=%s&cursor=%s">%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