time() returns strange message...

Wojtek Walczak gminick at hacker.pl
Wed Dec 12 16:47:58 EST 2001


Dnia Wed, 12 Dec 2001 22:07:20 +0100, Johan Barelds napisał(a):
>My code is the following:
>==========================================
>import time
>print time()
>==========================================
>anyone any clues??
When you're using functions from modules, you 
must mark function as it is a part of module.
So you're using following syntax
modulename.function_from_module()
So here it'll be:
time.time()
Take a look at Python's howtos and the one,
about import's dangers. It should help you.

-- 
[ Wojtek gminick Walczak ][ http://hacker.pl/gminick/ ]
[ gminick (at) hacker.pl ][ gminick (at) klub.chip.pl ]



More information about the Python-list mailing list