I was thinking of a possibility to search in the namespace of pycurst:
locals()
Would it be much effort?
It could be work like the search window on the bottom left in the demo.
That would be really cool I think.
I was thinking of a possibility to search in the namespace of pycurst:
locals()
Would it be much effort?
It could be work like the search window on the bottom left in the demo.
That would be really cool I think.
What would be even better is if you could hit the AutoComplete hotkey (Ctrl-Space) while typing the name in the local namespace and have it give you the list of local names. Currently the hotkey only works after you've typed the local name and the dot and are then in the midst of typing something in that namespace.
On 8/29/10 1:22 AM, FranzSt wrote:
I was thinking of a possibility to search in the namespace of pycurst:
locals()Would it be much effort?
It could be work like the search window on the bottom left in the demo.
That would be really cool I think.
--
Robin Dunn
Software Craftsman
Very good. I also think of calling Pycrust from within an app. So the
delivered namespace could be scanned for names and their entries. That
would be helpful, I think.
On Aug 31, 8:41 pm, Robin Dunn <ro...@alldunn.com> wrote:
On 8/29/10 1:22 AM, FranzSt wrote:
> I was thinking of a possibility to search in the namespace of pycurst:
> locals()> Would it be much effort?
> It could be work like the search window on the bottom left in the demo.
> That would be really cool I think.
What would be even better is if you could hit the AutoComplete hotkey
(Ctrl-Space) while typing the name in the local namespace and have it
give you the list of local names. Currently the hotkey only works after
you've typed the local name and the dot and are then in the midst of
typing something in that namespace.
When you start pycrust or pyshell you can give it a dictionary to use for the initial namespace. For example, in the Main.py module in the demo there is this code:
# Make a PyShell window
from wx import py
namespace = { 'wx' : wx,
'app' : wx.GetApp(),
'frame' : self,
}
self.shell = py.shell.ShellFrame(None, locals=namespace)
On 9/1/10 8:57 AM, franz steinhaeusler wrote:
On Aug 31, 8:41 pm, Robin Dunn<ro...@alldunn.com> wrote:
On 8/29/10 1:22 AM, FranzSt wrote:
I was thinking of a possibility to search in the namespace of pycurst:
locals()Would it be much effort?
It could be work like the search window on the bottom left in the demo.
That would be really cool I think.
What would be even better is if you could hit the AutoComplete hotkey
(Ctrl-Space) while typing the name in the local namespace and have it
give you the list of local names. Currently the hotkey only works after
you've typed the local name and the dot and are then in the midst of
typing something in that namespace.Very good. I also think of calling Pycrust from within an app. So the
delivered namespace could be scanned for names and their entries. That
would be helpful, I think.
--
Robin Dunn
Software Craftsman