Re: [Python.NET] Trouble getting Python for .NET to work in Ableton Live

2007-12-13 Thread Tijs Wickardt
Hi Christian, > The magic is in clr.pyd. You have to import the python dynamic extension > (hence the name) in order to use the CLR features in a common Python. > The clr.pyd in the alpha zip files doesn't work properly. You have to > compile your own version with VS. Thanks, that helps. "import

Re: [Python.NET] Trouble getting Python for .NET to work in Ableton Live

2007-12-13 Thread Tijs Wickardt
Thanks for the reply Brian, and also Christian Heimes and Feihong Hsu. > Not sure how insane this is, but if you want to really roll your sleeves > up you might be able to checkout the old python2.2-supporting branch of > python.net and build it using the .NET 2.x tool chain. I'll look into that,

[Python.NET] Trouble getting Python for .NET to work in Ableton Live

2007-12-11 Thread Tijs Wickardt
work, although we suspect that this could be easily resolved with some additional effort. There's an incompatibility between Ableton's Python and the 'standard' Python 2.2 major release. They appear to be different flavors. Any help appreciated, Kind regards, Tijs Wickardt _ Python.NET mailing list - [email protected] http://mail.python.org/mailman/listinfo/pythondotnet

Re: [Python.NET] Accessing class interface with private methods

2007-12-11 Thread Tijs Wickardt
Actually, there is a way to access private members in C#. You can use System.Reflection to modify access directives. Since you can't access private members from Python .net, you could write a seperate C# module that unhides private members and exposes them as public. You could then call those publ