module access

Mark McEahern marklists at mceahern.com
Thu May 2 14:54:36 EDT 2002


[bob ackerman]
> thanks, but how else would you set up a link to a module?
> how else get to that module using a link?

The short answer is:  Don't think in terms of linking to a module.  ;-)

Have a single cgi that processes all incoming requests and dispatches them
appropriately.  That way, your URL space is decoupled from your package
layout; both of which are decoupled from your presentation.

> anyway, i am thinking this is really an html problem, not python's.
> i need to tell the browser what directory is current so it knows how to
> handle the link.

This might help:

  http://www.w3.org/TR/REC-html40/struct/links.html#h-12.4

Cheers,

// mark






More information about the Python-list mailing list