In SX Microcontrollers, SX/B Compiler and SX-Key Tool, havenith wrote: So here it is: A python module called "pysix" (I know, I know, but any other name sounded either like some British football club or like indecent acts on pastry). The module should work with python 2.6 (and probably no other versions) on Windows. If needed, I could build modules that work with other python versions and a linux version is certainly also possible. The attached zipfiles contains a bunch of dlls, a .pyd file (which is in fact also a dll), one demo .py script and one demo .lst file. Easiest way to install this is to copy the dll (and pyd) files to the 'DLLs' directory of the python installation (often this would be "C:\python26\DLLs"). But you can also test the plugin by running a script that is in the same directory as all the dlls, as the demo script is when unzipped with the rest of the files. The included demo script, 'retw_table.py' will try to load a simple listing called 'retw_table.lst', run it and print the contents of the w register after every the call to the 'Table' function. On my [url=http://havenith-verlinden.nl/wiki/index.php?title=Sxgo]sxgo web page[/url] I have an example with a slightly more interesting lst file. I'm going to create some documentation on [url=http://havenith-verlinden.nl/wiki/index.php?title=Pysix_python_module]this page[/url] after this post. @Howard: Shame about the sx-python name. Good thing that I'm of the 'the name doesn't matter'-school :-) The required python version is 2.6, any 2.6.x should work. I'll try to make a real "setup.py" installation out of this, I'm still reading the docs on how to make an installer for Python. @Vinnie:Thanks for the feedback! Testing with non-trivial IO is exactly why I created the python module. All comments, suggestions and bug reports are welcome. Actually, the next thing I wanted to implement, for both the UI and the python module was going to be "data-breakpoints", in other words, breaking when some ram location or register changes value. I think I can probably do this without too much performance cost. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=363890#m364466 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)