On Sun, 29 Nov 2009 22:03:09 -0500, tuxsun wrote:
I've been working in the shell on and off all day, and need to see if
a function I defined earlier is defined in the current shell I'm
working in.
Is there a shell command to get of list of functions I've defined?
How about this:
#
Tim Chase wrote:
(as an aside, is there a way to get a local/global variable from a
string like one can fetch a variable from a class/object with
getattr()? Something like getattr(magic_namespace_here, "hello") used
in the above context? I know it can be done with eval(), but that's
gen
On Sun, Nov 29, 2009 at 7:53 PM, Tim Chase
wrote:
> (as an aside, is there a way to get a local/global variable from a string
> like one can fetch a variable from a class/object with getattr()? Something
> like getattr(magic_namespace_here, "hello") used in the above context? I
> know it can be
tuxsun wrote:
I've been working in the shell on and off all day, and need to see if
a function I defined earlier is defined in the current shell I'm
working in.
Is there a shell command to get of list of functions I've defined?
TIA!
P.S. If it makes a difference, I'm using the shell from withi
tuxsun wrote:
I've been working in the shell on and off all day, and need to see if
a function I defined earlier is defined in the current shell I'm
working in.
Is there a shell command to get of list of functions I've defined?
yesish...you can use dir() from the prompt to see the bound names