[Numpy-discussion] [OT: MATLAB] Any way to globally make Matlab struct attributes Python-property-like

josef.pktd at gmail.com josef.pktd at gmail.com
Mon Sep 13 23:33:35 EDT 2010


On Mon, Sep 13, 2010 at 11:18 PM, Joshua Holbrook
<josh.holbrook at gmail.com> wrote:
> you have my sympathy, but no hints. :( The only thing I can think of
> is something like a preprocessor.
>
> --Josh
>
> On Mon, Sep 13, 2010 at 7:13 PM, Robert Kern <robert.kern at gmail.com> wrote:
>> On Mon, Sep 13, 2010 at 21:24, David Goldsmith <d.l.goldsmith at gmail.com> wrote:
>>> (Sorry for the OT post; I thought I'd get a more sympathetic response
>>> here than on the MATLAB lists.) ;)
>>
>> I'm sorry, but that's *really* off-topic.

I think it's a question for the python list about what to do after
import re

It shouldn't take more than a few hours to come up with the right
regular expression and sub arguments.

Josef

>>
>> --
>> Robert Kern
>>
>> "I have come to believe that the whole world is an enigma, a harmless
>> enigma that is made terrible by our own mad attempt to interpret it as
>> though it had an underlying truth."
>>   -- Umberto Eco
>> _______________________________________________
>> NumPy-Discussion mailing list
>> NumPy-Discussion at scipy.org
>> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>



More information about the NumPy-Discussion mailing list