Run an python method from C++

2004-11-30 Thread Mark Doberenz
--- I'm trying to run a method in a python file called pyFile.py...   class dc:     def proc1(var1):     print "Proc1 was run:",var1     def main():     pass     if __name__ == "__main__":     main()   --- and here's my c program:   int main(){     printf("Hello World!\n");

RE: python API wrapper for C++ API

2004-11-30 Thread Mark Doberenz
[mailto:[EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 1:59 AM To: Mark Doberenz; [EMAIL PROTECTED] Subject: Re: python API wrapper for C++ API "Mark Doberenz" <[EMAIL PROTECTED]> wrote: > I'm fairly new at Python, but I've got a project I really want to do. >

python API wrapper for C++ API

2004-11-29 Thread Mark Doberenz
I'm fairly new at Python, but I've got a project I really want to do.   I'm working with a real-time 3D program called Deep Creator, and it has a C++ API written for it.  I'm wondering what it would take to create a Python wrapper that would allow me to write Python programs that would call