By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,813 Members | 1,130 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,813 IT Pros & Developers. It's quick & easy.

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

P: 22
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.

Aug 8 '09 #1
Share this Question
Share on Google+
3 Replies

Expert Mod 2.5K+
P: 2,851
Your python code will need to enclose the output text in html tags. Check out this link.
Aug 9 '09 #2

Dheeraj Joshi
Expert 100+
P: 1,123
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?
Aug 10 '09 #3

P: 22
I ended up figuring it out, thanks. I have it displayed from the python app.
Aug 10 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.