Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/share/doc/python-utidylib/ drwxr-xr-x |
Viewing file: Select action/file-type: This is uTidylib, the Python wrapper for the HTML cleaning library named TidyLib: http://tidy.sf.net . Python 2.3 or later is required to use uTidylib. Repeat, Python 2.3 or later is *required* to use uTidylib. Once installed, there are two ways to get help. The simplest is: $ python >>> import tidy >>> help(tidy) . . . Then, of course, there's the epydoc-generated API documentation, which is available at site-packages/tidy/apidoc/index.html . __________________ 10 Second Tutorial __________________ >>> import tidy >>> options = dict(output_xhtml=1, add_xml_decl=1, indent=1, tidy_mark=0) >>> print tidy.parseString('<Html>Hello Tidy!', **options) <?xml version="1.0" encoding="us-ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> Hello Tidy! </body> </html Good luck! |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.015 ]-- |