subprocess: xterm -c cat, need to send data to cat and have it displayed in the xterm window
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Tue Jul 12 02:27:05 EDT 2016
On Tuesday 12 July 2016 13:20, Veek. M wrote:
> Script grabs some image data and runs imagemagick on it to extract some
> chinese. Then tesseract OCR to get the actual unicode.
>
> I then need to get it translated which also works and then display in
> XTerm using cat.
Why not just print it? Why do you have to use cat? That sounds like "Useless
use of cat" to me:
http://porkmail.org/era/unix/award.htmlhttp://porkmail.org/era/unix/award.html
--
Steve
More information about the Python-list
mailing list