Re: [Tutor] Accessing the name of a Function

2006-12-13 Thread Carroll, Barry
> -Original Message- > From: Kent Johnson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 13, 2006 3:42 PM > To: Carroll, Barry > Cc: tutor@python.org > Subject: Re: [Tutor] Accessing the name of a Function > <> > > You could also do this very si

Re: [Tutor] Accessing the name of a Function

2006-12-13 Thread Kent Johnson
(implementation pending) with > arguments: schemafile=USBIBM.XML configfile=USBIBM.TEX > dataset=usbimbstart > ## > > Thanks to Andreas and Kent for their help > > Regards, > > Barry > [EMAIL PROTECTED] > 541-302-1107 > >

Re: [Tutor] Accessing the name of a Function

2006-12-13 Thread Carroll, Barry
and Kent for their help Regards, Barry [EMAIL PROTECTED] 541-302-1107 We who cut mere stones must always be envisioning cathedrals. -Quarry worker's creed > -Original Message----- > From: Kent Johnson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December

Re: [Tutor] Accessing the name of a Function

2006-12-13 Thread Kent Johnson
Carroll, Barry wrote: > Andreas: > > You're right, that is kind of messy and somewhat limited. In the > present case, however, it is the function's defined name that I want, so > this would work okay. > > I'm guessing that there is a way to determine the number and names of > the arguments to

Re: [Tutor] Accessing the name of a Function

2006-12-12 Thread Carroll, Barry
MAIL PROTECTED] > Sent: Tuesday, December 12, 2006 4:05 PM > To: Carroll, Barry > Cc: tutor@python.org > Subject: Re: [Tutor] Accessing the name of a Function > > * Carroll, Barry <[EMAIL PROTECTED]> [061212 23:54]: > >Greetings: > > > > > &g

Re: [Tutor] Accessing the name of a Function

2006-12-12 Thread Andreas Kostyrka
* Carroll, Barry <[EMAIL PROTECTED]> [061212 23:54]: >Greetings: > > > >Is it possible, from inside a stand-alone function (not a member of a >class), to access the string representation of the function's name? If >so, how? Probably, but it's dirty like help (sys._getframe would

[Tutor] Accessing the name of a Function

2006-12-12 Thread Carroll, Barry
Greetings: Is it possible, from inside a stand-alone function (not a member of a class), to access the string representation of the function's name? If so, how? Regards, Barry [EMAIL PROTECTED] 541-302-1107 We who cut mere stones must always be envisioning