Creating a background in python and outputting it to an html page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mott3510
    New Member
    • Jul 2009
    • 22

    Creating a background in python and outputting it to an html page

    I currently have some text that I have being output to a html page, but the background of the page is just white. I would like to make the background a different color on the html page. I assume that I have to do this in my python code and then output that to the html file since every time I run the python file it overwrites the html file. I don't really have any idea how to do this.

    Thanks!
  • bvdet
    Recognized Expert Specialist
    • Oct 2006
    • 2851

    #2
    Your python code will need to enclose the output text in html tags. Check out this link.

    Comment

    • Dheeraj Joshi
      Recognized Expert Top Contributor
      • Jul 2009
      • 1129

      #3
      Are you using AJAX call to make your background script to get executed from browser? or is it from the PYTHON app you want to open browser and display the contents?

      Comment

      • mott3510
        New Member
        • Jul 2009
        • 22

        #4
        I ended up figuring it out, thanks. I have it displayed from the python app.

        Comment

        Working...