[BangPypers] HTML to doc conversion

Anand B Pillai anandpillai at letterboxes.org
Wed Sep 30 13:58:45 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 30 September 2015 02:51 PM, Sandeep wrote:
> Hello shoanm,
> 
> The want to convert html to word document and not PDF
> 
> Will wkhtmltopdf will do this ??

FYI - this hasnt got much to do with Python. You might be better off
posting in more generic forums.

To conclude my suggestion on pandoc, here is how you would use this.

$ pandoc -f html -t docx -S -s input.hml -o output.docx

I just tried this for a sample document and it produces readable
document which loads in Open office. You can adjust the conversion by
trying various options of pandoc (pandoc -h).

Suggest to try a bit yourselves before asking further help.


- -- 
Regards,

- --Anand

- ----------------------------
Software Architect/Consultant
anandpillai at letterboxes.org

Cell: +919880078014
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJWC85wAAoJEHKU2n17CpvDjEAH/3wJ/+qmdU5rU1I1mwPG2pfz
Jokm0C1gX6JmnDBTwRpqyLH49YQdpBH4MKJVu49DZ2PE1jGuSUQ5AA32A7eUEOys
V8TzqsM8WWxK03s5ILF8v44jfEZoX/cYAghXxkJ1GVdd51GPEFnN6ypSXlfmyocp
2OiWGMqAnaNNrSBOAfcBqiHXLsrPkBukFXDAWcVSAOHTWCXHkWBGwZGrVoercV/7
SdRbUlVVJwTqwzDFWVaHT50dUNAQcxpFEuLNiGWGNxhSAp3ifu7gAAcsXXusarCY
GiYz3SOJWhI1uBCvwieFPRfTGqmz+/C5LgSeMUrgT+vuEfYe+tJLSItJn6Rg2OU=
=aD+V
-----END PGP SIGNATURE-----


More information about the BangPypers mailing list