Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

saving a file as HTML  RSS feed

 
Bob Moranski
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I was wondering how do I save a file as a specific doc type like html? Can someone give some snippet of codes? Thanks.
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Html files are really straight text. Saving them is pretty straight forward.

Once you realize this, you can create your own classes to support what you want with methods such as

Hope this helps

[This message has been edited by Carl Trusiak (edited January 11, 2001).]
[This message has been edited by Carl Trusiak (edited January 11, 2001).]
 
Bob Moranski
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow. Thanks Carl.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!