TSV to HTML
- From: "Brian" <bnblazer@xxxxxxxxx>
- Date: 31 May 2006 11:07:04 -0700
I was wondering if anyone here on the group could point me in a
direction that would expllaing how to use python to convert a tsv file
to html. I have been searching for a resource but have only seen
information on dealing with converting csv to tsv. Specifically I want
to take the values and insert them into an html table.
I have been trying to figure it out myself, and in essence, this is
what I have come up with. Am I on the right track? I really have the
feeling that I am re-inventing the wheel here.
1) in the code define a css
2) use a regex to extract the info between tabs
3) wrap the values in the appropriate tags and insert into table.
4) write the .html file
Thanks again for your patience,
Brian
.
- Follow-Ups:
- Re: TSV to HTML
- From: Tim Chase
- Re: TSV to HTML
- Prev by Date: Re: Oracle Data Access in Python
- Next by Date: python to NQC converter?
- Previous by thread: Help requested -- importing stuff from a .COM DLL into python
- Next by thread: Re: TSV to HTML
- Index(es):
Relevant Pages
|