Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
...Random ideas & action items: The PSF should talk to NOSI about collaborating where appropriate. For example, NOSI talks about using Linux and OpenOffice for desktops; perhaps the PSF could write a white paper about PyUno. Suggestion for python.org: write a page about the history of the software. Write a comparison of Python and PHP. M. von Löwis noted that one action item is Mailman, and asked if we should pay money to ramp it up graphically (like: paying a graphics designer?). S. Deibe...
...random.sample(population,k) for random sampling without replacement. Returns a k length list of unique elements chosen from the population. random.randrange(-sys.maxint-1, sys.maxint) no longer raises OverflowError. That is, it now accepts any combination of 'start' and 'stop' arguments so long as each is in the range of Python's bounded integers. Thanks to Raymond Hettinger, random.random() now uses a new core generator. The Mersenne Twister algorithm is implemented in C, threadsafe, faster...
...random process I've given up trying to understand. One of them was Programming Python . I found this somewhat interesting, as I collect computer languages. I know over two dozen general-purpose languages, write compilers and interpreters for fun, and have designed any number of special-purpose languages and markup formalisms myself. My most recently completed project, as I write this, is a special-purpose language called SNG for manipulating PNG (Portable Network Graphics) images. Interested rea...
...random number capabilities tools for integrating Fortran code. tools for integrating C/C++ code. SciPy (pronounced "Sigh Pie") is open-source software for mathematics, science, and engineering. The SciPy library depends on NumPy, which provides convenient and fast N-dimensional array manipulation. The SciPy library is built to work with NumPy arrays, and provides many user-friendly and efficient numerical routines such as routines for numerical integration and optimization. Together,...
...random.py is now self-contained, and offers all the functionality of the now-deprecated whrandom.py. See the docs for details. random.py also supports new functions getstate() and setstate(), for saving and restoring the internal state of the generator; and jumpahead(n), for quickly forcing the internal state to be the same as if n calls to random() had been made. The latter is particularly useful for multi- threaded programs, creating one instance of the random.Random() class for each thread...
If you didn't find what you need, try your search in the Python language documentation.