Do you mean you are reading the html from a website and want to save it to a file?
I am not sure what you mean when you say you are printing it in IDLE. IDLE is a text editor and an embedded python prompt. The only storage there is the actually file you save code to.
I am not sure what you mean when you say you are printing it in IDLE. IDLE is a text editor and an embedded python prompt. The only storage there is the actually file you save code to.
Quote:< to < and > to >This is the code for < and > as HTML defines tags with them. &lessthan; and &greaterthan;
Recommended Tutorials: