On Sun, 29 Nov 2009 22:03:09 -0500, tuxsun tuxs...@gmail.com 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
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 within IDLE,
but
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
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
On Sun, Nov 29, 2009 at 7:53 PM, Tim Chase
python.l...@tim.thechases.com wrote:
snip
(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
Tim Chase wrote:
snip
(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