Possible? Python 2.6.x and PythonWin on 64-bit Windows 7

2010-02-07 Thread escalation746
I am having a heck of a time doing the simplest thing: installing Python and the pywin extensions, including the PythonWin editor I have always relied on, into my new Windows 7 Professional 64-bit OS. I tried the Python package from python.org and pywin32 from sourceforge. But the latter would not

Re: Possible? Python 2.6.x and PythonWin on 64-bit Windows 7

2010-02-07 Thread escalation746
Andrej Mitrovic wrote: Perhaps you've accidentally downloaded the wrong version of PythonWin? Erk, yes, my bad. Thanks for the quick help! Though I still wonder why the ActiveState build does not include this. -- robin -- http://mail.python.org/mailman/listinfo/python-list

custom plugin architecture: how to see parent namespace?

2007-07-22 Thread escalation746
I've got a namespace query that amounts to this: How can an imported function see data in the parent custom namespace? I have read through numerous posts which skirt this issue without answering it. To illustrate, create plugin.py with a couple of functions. The second will obviously fail.

Re: custom plugin architecture: how to see parent namespace?

2007-07-22 Thread escalation746
faulkner wrote: sys._getframe(1).f_locals Brilliant. That one's pretty well hidden and labeled should be used for internal and specialized purposes only. Guess I'm officially special. :-) To implement this with minimal requirements on the author of the plugin, I created a function in

Re: custom plugin architecture: how to see parent namespace?

2007-07-22 Thread escalation746
Wojciech Mu a wrote: These names don't match. I replaced Valuable() with proper name, and everything work fine. That was a result of a transcription error when posting to the newsgroup. My actual test code did not have this error but nevertheless did not work. However, copying the code I

Re: custom plugin architecture: how to see parent namespace?

2007-07-22 Thread escalation746
I have updated documentation for this on my blog, diagrammes modernes. Surf: http://diagrammes-modernes.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: custom plugin architecture: how to see parent namespace?

2007-07-22 Thread escalation746
Jorge Godoy wrote: escalation746 wrote: I have updated documentation for this on my blog, diagrammes modernes. Surf: http://diagrammes-modernes.blogspot.com/ Your motivation looks a lot like what is solved by setuptools, eggs and entry points. Though that problem domain looks different