CSV to HTML translation: Difference between revisions
Content added Content deleted
m (→Tcl: formatting fix) |
(→{{header|Python}}: Add pretty picture.) |
||
Line 465: | Line 465: | ||
=={{header|Python}}== |
=={{header|Python}}== |
||
(Note: rendered versions of both outputs are |
(Note: rendered versions of both outputs are shown at the foot of this section). |
||
===Simple solution=== |
===Simple solution=== |
||
<lang python>csvtxt = '''\ |
<lang python>csvtxt = '''\ |
||
Line 551: | Line 551: | ||
<TBODY bgcolor="orange"><TR><TD>The multitude</TD><TD>Behold his mother! Behold his mother!</TD></TR></TBODY> |
<TBODY bgcolor="orange"><TR><TD>The multitude</TD><TD>Behold his mother! Behold his mother!</TD></TR></TBODY> |
||
</TABLE></lang> |
</TABLE></lang> |
||
[[File:Csv2html.PNG|500px|thumb|left|HTML rendered in firefox browser]] |
|||
=={{header|Tcl}}== |
=={{header|Tcl}}== |