Re: what difference does redirection make?

2010-10-18 Thread Nikola Skoric
Dana Sun, 17 Oct 2010 15:36:13 -0400, Benjamin Kaplan benjamin.kap...@case.edu kaze: On Sun, Oct 17, 2010 at 3:04 PM, Nikola Skoric n...@fly.srk.fer.hr wrote: You're trying to write Unicode to a file. But there's no such thing as /snip .encode(cp1252) or whatever encoding you want to use to

what difference does redirection make?

2010-10-17 Thread Nikola Skoric
When I execute n...@rilmir:~/code/simplepyged/docs/examples$ python latex.py I get expected output (bunch of latex markup). But, when I add a redirection, I get: n...@rilmir:~/code/simplepyged/docs/examples$ python latex.py foo.tex File latex.py, line 87, in module print

Re: what difference does redirection make?

2010-10-17 Thread Benjamin Kaplan
On Sun, Oct 17, 2010 at 3:04 PM, Nikola Skoric n...@fly.srk.fer.hr wrote: When I execute n...@rilmir:~/code/simplepyged/docs/examples$ python latex.py I get expected output (bunch of latex markup). But, when I add a redirection, I get: n...@rilmir:~/code/simplepyged/docs/examples$ python