View Single Post
  #4   Spotlight this post!  
Unread 25-08-2009, 20:12
daltore's Avatar
daltore daltore is offline
Electronics/programming/design
AKA: Aaron Osmer
FRC #3529 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: San Antonio, TX
Posts: 272
daltore has a spectacular aura aboutdaltore has a spectacular aura aboutdaltore has a spectacular aura about
Send a message via AIM to daltore Send a message via MSN to daltore Send a message via Yahoo to daltore
Re: Programing with Python

The point of python is to be extensible. Any way you could write it into a block inside a C++ program? You could possibly create macros/variables from C++, and then "do something" with them in the Python block. If you can interject the Python code into the C++ file, you should be able to "just" compile it, assuming the WindRiver compiler contains support for the Python wrapper. I'm not very familiar with the process of embedding languages, most I've really dealt with to any extent is wrapping assembly into C, so please forgive me if I'm way off.