On 5/18/2010 2:55 PM, superpollo wrote:
yes python does not, but maybe the *shell* does, or so i thought. i just
wanted to dump the code for the function in a file, after i tested in
the shell...
On Windows, you can tell the shell (command window) how many lines to
remember. One can sensibly
Am 18.05.2010 20:55, schrieb superpollo:
>
> yes python does not, but maybe the *shell* does, or so i thought. i just
> wanted to dump the code for the function in a file, after i tested in
> the shell...
You might want to have a look at the IPython shell [1]. I personally do
not use it myself, b
superpollo wrote:
Patrick Maupin ha scritto:
On May 18, 1:41 pm, superpollo wrote:
Patrick Maupin ha scritto:
On May 18, 12:31 pm, superpollo wrote:
>>> def myfun():
... return "WOW"
...
>>> myfun()
'WOW'
now, i would like to "list" the funcion definition, something like
this:
>
Peter Otten ha scritto:
superpollo wrote:
Patrick Maupin ha scritto:
On May 18, 1:41 pm, superpollo wrote:
Patrick Maupin ha scritto:
On May 18, 12:31 pm, superpollo wrote:
>>> def myfun():
... return "WOW"
...
>>> myfun()
'WOW'
now, i would like to "list" the funcion definition,
superpollo wrote:
> Patrick Maupin ha scritto:
>> On May 18, 1:41 pm, superpollo wrote:
>>> Patrick Maupin ha scritto:
>>>
>>>
>>>
On May 18, 12:31 pm, superpollo wrote:
> >>> def myfun():
> ... return "WOW"
> ...
> >>> myfun()
> 'WOW'
> now, i would like to "l
Patrick Maupin ha scritto:
On May 18, 1:41 pm, superpollo wrote:
Patrick Maupin ha scritto:
On May 18, 12:31 pm, superpollo wrote:
>>> def myfun():
... return "WOW"
...
>>> myfun()
'WOW'
now, i would like to "list" the funcion definition, something like this:
>>> myfun.somethinglik
On May 18, 1:41 pm, superpollo wrote:
> Patrick Maupin ha scritto:
>
>
>
> > On May 18, 12:31 pm, superpollo wrote:
> >> >>> def myfun():
> >> ... return "WOW"
> >> ...
> >> >>> myfun()
> >> 'WOW'
>
> >> now, i would like to "list" the funcion definition, something like this:
>
> >> >>> my
Patrick Maupin ha scritto:
On May 18, 12:31 pm, superpollo wrote:
>>> def myfun():
... return "WOW"
...
>>> myfun()
'WOW'
>>>
now, i would like to "list" the funcion definition, something like this:
>>> myfun.somethinglikethis()
def myfun():
return "WOW"
>>>
is there something
On May 18, 12:31 pm, superpollo wrote:
> >>> def myfun():
> ... return "WOW"
> ...
> >>> myfun()
> 'WOW'
> >>>
>
> now, i would like to "list" the funcion definition, something like this:
>
> >>> myfun.somethinglikethis()
> def myfun():
> return "WOW"
> >>>
>
> is there something lik
>>> def myfun():
... return "WOW"
...
>>> myfun()
'WOW'
>>>
now, i would like to "list" the funcion definition, something like this:
>>> myfun.somethinglikethis()
def myfun():
return "WOW"
>>>
is there something like this around?
bye
--
http://mail.python.org/mailman/listinfo/python-li
10 matches
Mail list logo