DS TitleBar Flash is a multi-platform compatible script that displays a flash text in the title bar. Comes with an HTML generator.
DS Light applet displays a moving light over any JPG or GIF image given by you. An image and a scrolling text can also be inserted over the animation. The animation is displayed at random center or at mouse location. The light diameter, light...
I've worked on a random user generator in C a long time ago, so I thought I'd make an advanced version of it in Python(3.2). I'll have you know, I am an amateur in Python and even programming for that matter so I'd really appreciate some criticism...
This recipe returns a list of size n such that the contents of the returned list are random 0s and 1s. It returns a random binary list of size n.
This (quick but strangely satisfying) recipe combines the use of random.choice with functools.partial from the standard library. It is a factory function returning random.choice pre-filled with its sequence of options.
This function returns a random element from a sequence. The probability for each element in the sequence to be selected can be weighted by a user-provided callable
Numerical Integration using random sampling.
Generating N random numbers that probability distribution fits to any given function curve.
Calculating PI using random numbers (Monte Carlo method)