<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=FR link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US>Hi everybody,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I’ve played today with the gtk example
from Eitan Isaacson.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>My objective was to do the same for
Wxpython.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Here is the result.(I have only tested it
under linux currently, but should work on other platform!)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>You will need wxpython 2.8.7 and Ipython
0.8.2 (well I think Ipython can be lower)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>There still some bugs:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>### known bug:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US># - write 'é' + enter in the console make
IPython behave strangely.(close stream???)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US># - UP and DOWN key doesn't behave well on
multiline commands.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US># - currently WxConsoleView is a wx.Panel,
can we change it to wx.TextCtrl?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US># - there is some graphical glitch on
autocompletion test. How to hide this?? Disable onPaint??<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>(to check how much symbol I can put on a
line I draw a line with the biggest autocompletion symbol and determine the max
symbol on a line. Then I remove the line, here is the glitch.)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I think it could be useful to guys who want
to integrate IPython into wx apps and could help IPython to be better known </span><span
lang=EN-US style='font-family:Wingdings'>J</span><span lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Code can be cleaner, but well it works </span><span
lang=EN-US style='font-family:Wingdings'>J</span><span lang=EN-US> (especially
the part with prompt length…)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>If you’re ok, I would like to propose
it as a wx example.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I haven’t so much time to maintain it
so, if anybody would like to help improve it, I’m open.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Laurent<o:p></o:p></span></p>

</div>

</body>

</html>