Did I find the right examples for you? yes no

All Samples(27497)  |  Call(5)  |  Derive(0)  |  Import(27492)
Random variable generators.

    integers
    --------
           uniform within range

    sequences
    ---------
           pick random element
           pick random sample(more...)

src/k/a/kamaelia-HEAD/Code/Python/Axon/Examples/STM/Axon.Philosophers.py   kamaelia(Download)
import Axon
from Axon.STM import Store
import random
 
def all(aList, value):

src/k/a/kamaelia-HEAD/Code/Python/Axon/Examples/Immortalise/Crasher.py   kamaelia(Download)
#!/usr/bin/python
 
import Axon
import random
 

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/doc/core/examples/row_example.py   oh-mainline(Download)
import random
 
from twisted.internet import reactor
 
from twisted.enterprise import adbapi, row, reflector, sqlreflector

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/doc/core/examples/row_example.py   hortonworks-sandbox(Download)
import random
 
from twisted.internet import reactor
 
from twisted.enterprise import adbapi, row, reflector, sqlreflector

src/a/n/antisocial-HEAD/ve/share/doc/ipython/examples/parallel/plotting/plotting_backend.py   antisocial(Download)
import numpy as N
import time
import random
 
# Functions

src/a/n/antisocial-HEAD/ve/share/doc/ipython/examples/parallel/davinci/wordfreq.py   antisocial(Download)
def tagcloud(worddict, n=10, minsize=25, maxsize=50, minalpha=0.5, maxalpha=1.0):
    from matplotlib import pyplot as plt
    import random
 
    worddict = wordfreq_to_weightsize(worddict, minsize, maxsize, minalpha, maxalpha)

src/a/p/appscale-HEAD/AppServer/google/appengine/ext/appstats/sample_appengine_config.py   appscale(Download)
import logging
import os
import random
import re
 

src/k/a/kamaelia-HEAD/Sketches/MH/Layout/Example/VisibleParticle.py   kamaelia(Download)
 
from random import randrange
import random
 
from Axon.Component import component

src/k/a/kamaelia-HEAD/Sketches/MH/Layout/Example/PhysApp1.py   kamaelia(Download)
 
from random import randrange
import random
 
from Axon.Component import component

src/o/c/ocf-HEAD/expedient/doc/plugins/samples/plugin/sample_resource/controller/resource.py   ocf(Download)
from sample_resource.models.SampleResource import SampleResource as SampleResourceModel
from sample_resource.utils.validators import validate_resource_name
import decimal, random
 
class SampleResource():

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