<?xml version="1.0" encoding="ISO-8859-1" ?><rss version="2.0">
<channel>
    <title>RoboRealm Forum</title>
    <link>http://www.RoboRealm.com/</link>
    <description>The newest forum threads.</description>
    <lastBuildDate>Tue, 30 Nov 1999 00:11:00 EST</lastBuildDate>
    <language>en-us</language>
    <copyright>Copyright: (C) RoboRealm, http://www.RoboRealm.com/</copyright>
    <docs>http://www.RoboRealm.com/</docs>

    <item>
        <title>No Title</title>
        <description>
        Thomas,&lt;br&gt;&lt;br&gt;I may have misspoken, the idea was to use an external editor to modify just the file that RR loads into the python module ... which is what I think you were already doing. Developing Python externally one would use the API and control RR via that. In this case the RR Python lib can be downloaded from &lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.roborealm.com/help/API.php&quot; target=&quot;_blank&quot;&gt;http://www.roborealm.com/&lt;wbr&gt;help/&lt;wbr&gt;API.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;as there is a small python example of how to execute some of the API functions. We typically don&apos;t keep the python lib up-to-date so you can either use the native python functions over TCP/IP or use the COM object which is kept up to date along with the C++ lib.&lt;br&gt;&lt;br&gt;Note that some of the api functions like getImage will be a bit slow in python.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5428</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5428</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Python in separate editor</title>
        <description>
        STeven,&lt;br&gt;&lt;br&gt;you mentioned earlier that it makes sense to do python development for more complex programs in a separate editor, no disagreement there. But some questions:&lt;br&gt;&lt;br&gt;1. It seems that I always need to comment out the lines &quot;import rr&quot; etc, there is no such module I could import in an external editor to run properly? At least I have not found rr.*, neither in RoboRealm directories nor in python. This is a little bit inconvenient for external debugging.&lt;br&gt;&lt;br&gt;2. If you call an extrernal python routine, there will obviously be always some interface with variables, which get passed by things like rr.GetStrVariable and &lt;br&gt;rr.SetArrayVariable. Since this does not work for an external editor, one has to first write a routine which writes things to files. While I use write_variables for this at the moment, format for this is very un-pythonic, so I might be better of using some python write funktion, since this would use a format I could read again easier. &lt;br&gt;&lt;br&gt;The most elegant way would be to write an rr.py that I can use for my external python editor and which lets rr.GetStrVariable and rr.SetArrayVariable directly use the values from a running RoboRealm (from memory). But might be complicated.&lt;br&gt;&lt;br&gt;If that approach does not work, having at least a pythonic file format in &quot;write variables&quot; as a third selection (aside from xml and html) would be great. You may probably want to look into Pickle: &lt;a href=&quot;https://docs.python.org/2/library/pickle.htmlPickle&quot; target=&quot;_blank&quot;&gt;https://docs.python.org/&lt;wbr&gt;2/&lt;wbr&gt;library/&lt;wbr&gt;pickle.htmlPickle&lt;/a&gt;&lt;br&gt;&lt;br&gt;Thomas        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5428</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5428</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
