Skip to content

nicer code #2

Description

@jabbalaci

Hi,

The beginning of the produced HTML is static, thus you could put it in a triple quoted string too:

`html = """

<style type="text/css"> table.pixeltable { border-spacing: 0; ...""" outfile.write(html)`

I'd have a question too: what is it good for? It's interesting to convert an image to an HTML table but do you see any cases when it's encouraged against a JPG file? I just wonder.

Laszlo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions