Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ Usage: `html2text.py [(filename|url) [encoding]]`
hide strike-through text. only relevent when -g is
specified as well

Or you can use it from within Python:
#Or you can use it from within Python:

import html2text
print html2text.html2text("<p>Hello, world.</p>")

Or with some configuration options:
#Or with some configuration options:

import html2text
h = html2text.HTML2Text()
Expand Down