Basic Question

Chris Liechti cliechti at gmx.net
Fri Feb 15 15:56:45 EST 2002


Karthikesh Raju <karthik at james.hut.fi> wrote in 
news:m3y9huzd3a.fsf at mycomp.tky.hut.fi:
> def randomList(n):
...
> in a file called randomList.py. Started python, imported randomList
> (>> import randomList) and then called this function (>>
> randomList(5)), got this un-understandable error:

>>> randomList.randomList(5)

the function is IN the module (which just has the same name in this 
case)
-- 
Chris <cliechti at gmx.net>




More information about the Python-list mailing list