1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

sleep() in nodebox

Posted by sg on Mar 22, 2009

I've been trying to use python's time.sleep(seconds) but I get the following error message:
'builtin_function_or_method' object has no attribute 'sleep'
can't I use sleep() in nodebox?
(and no, I didn't forget to 'import time')

Any ideas?


 
Posted by lievn on May 18, 2009

this should work

import time
time.sleep(2.5)
print time.clock()