-On [20080206 09:31], frankje ([EMAIL PROTECTED]) wrote:
>
>keer.py:
>
>def times (x,y):
>return x*y
>
>Now, when I am in IDLE at the prompt, and type: import keer
>And then for example: times (4,5)

from keer import times
times(4, 5)

or

import keer
keer.times(4, 5)

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
We have met the enemy and they are ours...
_______________________________________________
Python-nl mailing list
Python-nl@python.org
http://mail.python.org/mailman/listinfo/python-nl

Antwoord per e-mail aan