Dennis Lee Bieber wrote:
> On 1 Jun 2006 03:29:35 -0700, "Brian" <[EMAIL PROTECTED]> declaimed the
> following in comp.lang.python:
>
> > Thank you for that response. Your code was very helpful to me. I
> > think that actually seeing how it should be done in Python was a lot
> > more educational
Brian wrote:
> One question (and this is a topic that I still have trouble getting my
> arms around). Why is the text in STYLEBLOCK tripple quoted?
Because triple-quoted strings can span lines and include single quotes
and double quotes.
--
--Scott David Daniels
[EMAIL PROTECTED]
--
http://mai
Dennis,
Thank you for that response. Your code was very helpful to me. I
think that actually seeing how it should be done in Python was a lot
more educational than spending hours with trial and error.
One question (and this is a topic that I still have trouble getting my
arms around). Why is
Brian wrote:
> First let me say that I appreciate the responses that everyone has
> given.
>
> A friend of mine is a ruby programmer but knows nothing about python.
> He gave me the script below and it does exactly what I want, only it is
> in Ruby. Not knowing ruby this is greek to me, and I woul
First let me say that I appreciate the responses that everyone has
given.
A friend of mine is a ruby programmer but knows nothing about python.
He gave me the script below and it does exactly what I want, only it is
in Ruby. Not knowing ruby this is greek to me, and I would like to
re-write it i
Brian wrote:
> 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
> 1) in the code define a css
> 2) use a regex to extract the info between tabs
In place of this, you might want to look at
http://effbot.org/librarybook/csv.htm
Around the middle of that page you'll see how to use a delimiter other
than a comma
> 3) wrap the values in the appropriate tags and in
> 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
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 ins