On Wednesday 06 January 2016 10:25, Thomas 'PointedEars' Lahn wrote:

> Robert wrote:
> 
>> I just wonder that the cmd line function sum may be different from the
>> .py file used. One is numpy package, the other is a general one. Then,
>> how can I further make it clear for this guess?
> 
> Among other things:
> 
> print(sum.__doc__)


Better:

help(sum)

in the interactive shell.


-- 
Steve

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to