in CGI, how to include html pages?

Discussion in 'Python' started by python, Sep 6, 2003.

  1. python

    python Guest

    Hi-

    I'm writing some CGI stuff and I'm doing it in python to force myself to
    learn the language. Anyway, I want to include some html at the top of
    every page but I'm not sure how.

    If the header is in header.html, what is the python-ese way of printing
    that out in my html?

    Thanks for the help.
    python, Sep 6, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nick Welch

    Re: in CGI, how to include html pages?

    Nick Welch, Sep 6, 2003, in forum: Python
    Replies:
    1
    Views:
    430
    Andrew Chalk
    Sep 6, 2003
  2. Andreas Bogenberger
    Replies:
    3
    Views:
    906
    Andreas Bogenberger
    Feb 22, 2008
  3. Chris
    Replies:
    2
    Views:
    176
    Chris
    Sep 3, 2003
  4. Josef 'Jupp' Schugt

    (Ab)using class CGI as non-CGI HTML generator?

    Josef 'Jupp' Schugt, Mar 5, 2005, in forum: Ruby
    Replies:
    3
    Views:
    236
    Lee Braiden
    Mar 6, 2005
  5. me
    Replies:
    10
    Views:
    972
    ccc31807
    Mar 26, 2010
Loading...

Share This Page