About 50 results
Open links in new tab
  1. random — Generate pseudo-random numbers — Python 3.14.3 …

    2 days ago · Source code: Lib/random.py This module implements pseudo-random number generators for various distributions. For integers, there is uniform selection from a range.

  2. 1. Command line and environment — Python 3.14.3 documentation

    On previous versions of Python, this option turns on hash randomization, so that the __hash__() values of str and bytes objects are “salted” with an unpredictable random value.

  3. The Python Standard Library — Python 3.14.3 documentation

    2 days ago · The library contains built-in modules (written in C) that provide access to system functionality such as file I/O that would otherwise be inaccessible to Python programmers, as well as …

  4. Generate secure random numbers for managing secrets - Python

    3 days ago · The secrets module is used for generating cryptographically strong random numbers suitable for managing data such as passwords, account authentication, security tokens, and related …

  5. 9.6. random — Génère des nombres pseudo-aléatoires - Python

    Feb 7, 2018 · As an example of subclassing, the random module provides the WichmannHill class that implements an alternative generator in pure Python. The class provides a backward compatible way …

  6. turtle — Turtle graphics — Python 3.14.3 documentation

    2 days ago · Create and write docstring-dictionary to a Python script with the given filename. This function has to be called explicitly (it is not used by the turtle graphics classes).

  7. Python Documentation contents — Python 3.14.3 documentation

    Why does Python use methods for some functionality (e.g. list.index ()) but functions for other (e.g. len (list))? Why is join () a string method instead of a list or tuple method?

  8. 6. Modules — Python 3.14.3 documentation

    2 days ago · You may also want to use a handy function that you’ve written in several programs without copying its definition into each program. To support this, Python has a way to put definitions in a file …

  9. Library and Extension FAQ — Python 3.14.3 documentation

    6 days ago · You need to do two things: the script file’s mode must be executable and the first line must begin with #! followed by the path of the Python interpreter. The first is done by executing chmod +x …

  10. The Python Tutorial — Python 3.14.3 documentation

    2 days ago · After reading it, you will be able to read and write Python modules and programs, and you will be ready to learn more about the various Python library modules described in The Python …