View Single Post
Old 02-22-2012, 09:22 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,960
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DiapDealer View Post
At least a little bit. It's designed to be imported as a python module.

Then your code can be as simple as:
Read in the html file
Pass the html data to the smartyPants function
Write the data it returns to a new file.

If you give me a little time, I might be able to post a pretty simple working sample (as long as you know your way around command-line stuff).
Thanks. I'm very familiar with the command-line. I've been using a command line before a GUI was a thought in Xerox's mind.
JSWolf is offline   Reply With Quote