htmlentitiesdecode

Decode HTML entities
Download

htmlentitiesdecode Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Other/Proprietary Li...
  • Publisher Name:
  • Niels Serup
  • Publisher web site:
  • http://metanohi.org

htmlentitiesdecode Tags


htmlentitiesdecode Description

Decode HTML entities htmlentitiesdecode is a Python module that makes it easy to decode HTML entities in strings.Licensehtmlentitiesdecode is free software under the terms of the Do What The Fuck You Want To Public License version 2 (or any later version). The author of htmlentities is Niels Serup, contactable at ns@metanohi.org. This is version 0.1.1 of the program.InstallingIf you have python-setuptools installed, you can just do this: sudo easy_install htmlentitiesdecodeAlternatively, download and extract the gzipped tarball found on this very page, and then run this: sudo python setup.py installThe newest version of htmlentitiesdecode is always available at http://metanohi.org/projects/htmlentitiesdecode/ and at the Python Package Index.UsingThis module has only one main function: decode. Example usage:>>> from htmlentitiesdecode import decode as entity_decode>>> print entity_decode('Wie heißt du?')Wie heißt du?>>> print entity_decode('Ich heiße "htmlentitiesdecode".')Ich heiße "htmlentitiesdecode".>>> print entity_decode('Wir heißen "modules".')Wir heißen "modules".RunningWhen this module has been installed, you will have both a module and a command-line script that uses the decode function of the module. This script can be run this way:decodehtmlentities TEXT Requirements: · Python What's New in This Release: · Fixed error in README


htmlentitiesdecode Related Software