How to modify this script?
kurt at ugyldig.invalid
Wed Jan 9 12:04:15 CET 2013
Den 09/01/13 11.23, chaouche yacine skrev:
> I figrued it out. Copy/paste exactly these lines in the snippets tool.
> You can bind it to a key as you may know, I bound it to Ctrl-E. So paste
> it in a new snippet (keep the original in a safe place), bind to a key,
> select the text you want to html-tableize and hit the key binding. In my
> case it worked.
> def addline(line):
Spooky behavior. Yes, the green-apple-example also works for me with
your new script, BUT ...!
Try to copy the table content on this page:
which is a realistic scenario. That's whar I am doing these days.
Pasting it into Gedit and running the snippet blanks the edit area (on
MY Mac at least).
And yes: I have pasted your code excatly and I've double-checked for
linewraps. Everything is okay.
For your cenvenience I have put borders on the table online (see link
above). You may ommit the rows after track 14. Not that it makes any
differerence, but that block is surposed to be formatted differerent. I
do that manually afterwards ... if not ... ;-)
More information about the Python-list