Re: access the name of my method inside it

2007-08-01 Thread Evan Klitzke
On 8/1/07, james_027 <[EMAIL PROTECTED]> wrote: > Hi, > > On Aug 1, 5:18 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > > On Wed, 01 Aug 2007 09:06:42 +, james_027 wrote: > > > for example I have this method > > > > > def my_method(): > > > # do something > > > > > # how do I

Re: access the name of my method inside it

2007-08-01 Thread james_027
Hi all! Thanks for all your idea, this community is truly a great one! james -- http://mail.python.org/mailman/listinfo/python-list

Re: access the name of my method inside it

2007-08-01 Thread Bruno Desthuilliers
Cousin Stanley a écrit : def my_method(): # do something >>> # how do I get the name of this method # which is my_method here? >>> >>>Why do you need this? There are ways but those >>>are not really good for production code. >>> >> >>I am going to use this in Dja

Re: access the name of my method inside it

2007-08-01 Thread Cousin Stanley
>> > def my_method(): >> > >> > # do something >> >> > # how do I get the name of this method >> > # which is my_method here? >> >> Why do you need this? There are ways but those >> are not really good for production code. >> > > I am going to use this in Django. I am trying to impl

Re: access the name of my method inside it

2007-08-01 Thread Bruno Desthuilliers
james_027 a écrit : > Hi, > > On Aug 1, 5:18 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: >> On Wed, 01 Aug 2007 09:06:42 +, james_027 wrote: >>> for example I have this method >>> def my_method(): >>> # do something >>> # how do I get the name of this method which is my_met

Re: access the name of my method inside it

2007-08-01 Thread Paul McGuire
On Aug 1, 8:07 am, james_027 <[EMAIL PROTECTED]> wrote: > Hi, > > On Aug 1, 5:18 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > > > On Wed, 01 Aug 2007 09:06:42 +, james_027 wrote: > > > for example I have this method > > > > def my_method(): > > > # do something > > > > # ho

Re: access the name of my method inside it

2007-08-01 Thread Jay Loden
james_027 wrote: > Hi, > > On Aug 1, 5:18 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: >> On Wed, 01 Aug 2007 09:06:42 +, james_027 wrote: >>> for example I have this method >>> def my_method(): >>> # do something >>> # how do I get the name of this method which is my_method

Re: access the name of my method inside it

2007-08-01 Thread james_027
Hi, On Aug 1, 5:18 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Wed, 01 Aug 2007 09:06:42 +, james_027 wrote: > > for example I have this method > > > def my_method(): > > # do something > > > # how do I get the name of this method which is my_method here? > > Why do yo

Re: access the name of my method inside it

2007-08-01 Thread Steve Holden
Marc 'BlackJack' Rintsch wrote: > On Wed, 01 Aug 2007 07:01:42 -0400, Steve Holden wrote: > >> Marc 'BlackJack' Rintsch wrote: >>> On Wed, 01 Aug 2007 09:06:42 +, james_027 wrote: >>> for example I have this method def my_method(): # do something # how do

Re: access the name of my method inside it

2007-08-01 Thread Marc 'BlackJack' Rintsch
On Wed, 01 Aug 2007 07:01:42 -0400, Steve Holden wrote: > Marc 'BlackJack' Rintsch wrote: >> On Wed, 01 Aug 2007 09:06:42 +, james_027 wrote: >> >>> for example I have this method >>> >>> def my_method(): >>> # do something >>> >>> # how do I get the name of this method which is my_me

Re: access the name of my method inside it

2007-08-01 Thread Steve Holden
Marc 'BlackJack' Rintsch wrote: > On Wed, 01 Aug 2007 09:06:42 +, james_027 wrote: > >> for example I have this method >> >> def my_method(): >> # do something >> >> # how do I get the name of this method which is my_method here? > > Why do you need this? There are ways but those are

Re: access the name of my method inside it

2007-08-01 Thread Marc 'BlackJack' Rintsch
On Wed, 01 Aug 2007 09:06:42 +, james_027 wrote: > for example I have this method > > def my_method(): > # do something > > # how do I get the name of this method which is my_method here? Why do you need this? There are ways but those are not really good for production code. Ciao,

access the name of my method inside it

2007-08-01 Thread james_027
Hi, for example I have this method def my_method(): # do something # how do I get the name of this method which is my_method here? Thanks, james -- http://mail.python.org/mailman/listinfo/python-list