[IPython-dev] (no subject)

MinRK benjaminrk at gmail.com
Thu Dec 8 00:28:54 EST 2011


Those are the ANSI color escapes, which presumably your eclipse console
doesn't support.  Turning off the colors should solve the issue.

If you have control over startup args, then you can add `--colors=NoColor`

Or, you can set this as the default behavior in a config file.  In a shell:

    > ipython profile create

edit the ipython_profile.py that it created, and uncomment the line
containing 'TerminalInteractiveShell.colors', so it says:

c.TerminalInteractiveShell.colors = 'NoColor'

Or, in a pinch, you can to `%colors nocolor` after starting IPython to turn
off the coloring.

-MinRK

On Wed, Dec 7, 2011 at 21:11, Kiran Balakrishnan <kiranbkrishna at gmail.com>wrote:

> Hi all ,
>      I am a  new developer interested in IPython.
> Last day I  tried out running Ipyhton from the Eclipse console.Eclipse
> was set up  to execute python programs using the PyDev. But When i ran
> IPython i found the output was in some unreadable format.(please see
> the attached screenshot ).
> Some characters where printed out as garbage values.Is it because
> eclipse not supporting or using unicode encoding???? is there any way
> to correct it.
>
> I think Eclips ereally is a cool development environment , fixing this
> issue may help  newbie developers (like me) to contribue more
> effectively .
>
> Regards
> --
> Kiran Balakrishnan
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20111207/e1fd16bc/attachment.html>


More information about the IPython-dev mailing list