C STDOUT -> IDLE? (Windows)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rolf Wester

    C STDOUT -> IDLE? (Windows)

    Hi,

    I have some C-extension that write to C-STDOUT. When running python in
    IDLE (under Windows) IDLE doesn't show the output of the C-extensions.
    Is there a (simply?) way to get the extensions output displayed in IDLE?
    Thanks in advance.

    Regards

    Rolf Wester

  • F.G.Testa

    #2
    Re: C STDOUT -> IDLE? (Windows)

    You may find some explanations (but probably not solutions) on this issue in
    comp.python.c++ a thread from nov/5 "stdout from c++". thid =
    000501c3a3b2$ba 89b900$7b64a8c0

    "Rolf Wester" <wester@ilt.fra unhofer.de> wrote in message
    news:bocv5v$9dl $1@nets3.rz.RWT H-Aachen.DE...[color=blue]
    > Hi,
    >
    > I have some C-extension that write to C-STDOUT. When running python in
    > IDLE (under Windows) IDLE doesn't show the output of the C-extensions.
    > Is there a (simply?) way to get the extensions output displayed in IDLE?
    > Thanks in advance.
    >
    > Regards
    >
    > Rolf Wester
    >
    > --
    > http://mail.python.org/mailman/listinfo/python-list
    >[/color]




    Comment

    • vincent wehren

      #3
      Re: C STDOUT -&gt; IDLE? (Windows)

      "Rolf Wester" <wester@ilt.fra unhofer.de> schrieb im Newsbeitrag
      news:bocv5v$9dl $1@nets3.rz.RWT H-Aachen.DE...
      | Hi,
      |
      | I have some C-extension that write to C-STDOUT. When running python in
      | IDLE (under Windows) IDLE doesn't show the output of the C-extensions.
      | Is there a (simply?) way to get the extensions output displayed in IDLE?
      | Thanks in advance.

      Try using PySys_WriteStdo ut() instead of the "normal" c-functions


      HTH

      Vincent Wehren




      |
      | Regards
      |
      | Rolf Wester
      |


      Comment

      Working...