Hi,
Thanks for the explanation, things are clearer for me now :) I'm not
aware of a way to print messages in terminal where Spyder was started
from but you could try to look for the places where we intercept stderr
and stdout and modify them to do what you want. I think it shouldn't be
that hard.
Cheers,
Carlos
El 20/06/14 00:07, Alexander Gagarin escribió:
Ok, I'll try to give more detailed explanation.
If I enable Spyder internal console plugin, then all Python print
commands, located in plugins that I develop, register and use within
Spyder, for ex.
print "hello world"
will print result (for ex. "hello world") to internal console, but not
to system Linux console, where I started Spyder itself.
In other words, when Python interpreter executes any Spyder plugin
code, default output stream is forwarder to internal console _only_. I
just want it to be mirrored to default stdout, i.e. system console,
from where Spyder has been started.
пятница, 20 июня 2014 г., 3:52:58 UTC+6 пользователь Carlos Córdoba
написал:
Hi,
I don't exactly understand what you mean. Could you post a simple
example of what you want?
Cheers,
Carlos
El 19/06/14 06:07, Alexander Gagarin escribió:
Hello all
In Spyder ver. 2.3rc everything that goes to internal console
isn't forwarded to Python stdout.
I want to bind somehow stdout with internal console, so I can see
all my debug prints in system console also.
Thanks in advance for any help.
--
You received this message because you are subscribed to the
Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected] <javascript:>.
To post to this group, send email to [email protected]
<javascript:>.
Visit this group at http://groups.google.com/group/spyderlib
<http://groups.google.com/group/spyderlib>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.