Hello all:
I have a Django application that dispatches processing to a matlab script
using exec. How can I capture the stdout and stderr of the script's
execution?
Outside of Django, this works for a dumb matlab script called tt that just
prints a message:
>>> import matlab.engine, StringIO
>
Anybody have any random thoughts about this? I have run out of ideas to
test.
Thank you,
-Tom
On Wed, Dec 2, 2020 at 10:32 PM Tom Sgouros wrote:
> Hello all:
>
> I have a Django application that dispatches processing to a matlab script
> using exec. How can I capture the stdout a
-Tom
On Fri, Dec 4, 2020 at 3:33 PM Kris A. Stern wrote:
> Why not try something Python based instead which is also free. What kind
> of functionality are you looking for? Are you planning to plot, if so you
> could try numpy, scipy, and matplotlib.
>
> On Sat, 5 Dec 2020 at 02:0
x27;m not sure if you are aware of the dunder versions of these (see
> https://docs.python.org/3/library/sys.html)? Comparing sys.stdout with
> sys.__stdout__ might reveal interesting results for example.
>
> Once you know what Django has already done, I expect you will be able to
>
4 matches
Mail list logo