time

All Samples(34087)  |  Call(7)  |  Derive(0)  |  Import(34080)
```This module provides various functions to manipulate time values.

There are two standard representations of time.  One is the number
of seconds since the Epoch, in UTC (a.k.a. GMT).  It may be an integer
or a floating point number (to represent fractions of seconds).
The Epoch is system-defined; on Unix, it is generally January 1st, 1970.
The actual value can be retrieved by calling gmtime(0).

The other representation is a tuple of 9 integers giving local time.
The tuple items are:(more...)
```

src/i/p/ipython-0.13.1/docs/examples/parallel/demo/throughput.py   ipython(Download)
```from __future__ import print_function

import time
import numpy as np
from IPython import parallel
```
```def wait(t=0):
import time
time.sleep(t)

def echo(s=''):
```

src/i/p/ipython-0.13.1/docs/examples/parallel/demo/dependencies.py   ipython(Download)
```def wait(t):
import time
time.sleep(t)
return t

# fail after some time:
def wait_and_fail(t):
import time
```

src/i/p/ipython-py3k-HEAD/docs/examples/newparallel/demo/throughput.py   ipython-py3k(Download)
```import time
import numpy as np
from IPython import parallel

nlist = list(map(int, np.logspace(2,9,16,base=2)))
nlist2 = list(map(int, np.logspace(2,8,15,base=2)))
tlist = list(map(int, np.logspace(7,22,16,base=2)))
nt = 16
def wait(t=0):
import time
```

src/i/p/ipython-py3k-HEAD/docs/examples/newparallel/demo/dependencies.py   ipython-py3k(Download)
```def wait(t):
import time
time.sleep(t)
return t

# fail after some time:
def wait_and_fail(t):
import time
```

src/p/y/PyProp-HEAD/examples/combined/h2_ionization/born-oppenheimer/cartesian/example.py   PyProp(Download)
```import sys
import os
import time

import pylab
```
```from libpotential import *

import time

execfile("../common/benchmark.py")
```

src/i/p/ipython-0.13.1/docs/examples/parallel/customresults.py   ipython(Download)
```* MinRK
"""
import time
import random

```
```def sleep_here(count, t):
"""simple function that takes args, prints a short message, sleeps for a time, and returns the same args"""
import time,sys
print("hi from engine %i" % id)
sys.stdout.flush()
```

src/n/o/noc-0.7(3)/contrib/src/pysnmp/examples/v1arch/agent/cmdrsp.py   noc(Download)
```from pyasn1.codec.ber import encoder, decoder
from pysnmp.proto import api
import time, bisect

class SysDescr:
```

src/g/o/google-app-engine-HEAD/lib/webob_0_9/docs/comment-example-code/example.py   google-app-engine(Download)
```import os
import urllib
import time
import re
from cPickle import load, dump
```

src/l/a/Langtangen-HEAD/src/py/examples/pde/wave2D_func1_0.py   Langtangen(Download)
```        g('set zrange [-0.7:0.7]') # nice plot...

import time

def action(u, x, y, t):
```
```                                color=0, fontname='Times-Roman')
time.sleep(0.8)   # pause to finish plot
import time
t0 = time.clock()
viz = Visualizer(plot)
```
```        return 0.0

import time

error = []
```
```    def BC(x, y, t):
return 0.0
import time

def action(u, x, y, t):
```

src/l/a/latimes-appengine-template-0.022/appengine_template/google_appengine/lib/webob/docs/comment-example-code/example.py   latimes-appengine-template(Download)
```import os
import urllib
import time
import re
from cPickle import load, dump
```

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next