| LEFT | RIGHT |
| (Both sides are equal) |
| 1 :mod:`os` --- Miscellaneous operating system interfaces | 1 :mod:`os` --- Miscellaneous operating system interfaces |
| 2 ======================================================= | 2 ======================================================= |
| 3 | 3 |
| 4 .. module:: os | 4 .. module:: os |
| 5 :synopsis: Miscellaneous operating system interfaces. | 5 :synopsis: Miscellaneous operating system interfaces. |
| 6 | 6 |
| 7 | 7 |
| 8 This module provides a portable way of using operating system dependent | 8 This module provides a portable way of using operating system dependent |
| 9 functionality. If you just want to read or write a file see :func:`open`, if | 9 functionality. If you just want to read or write a file see :func:`open`, if |
| 10 you want to manipulate paths, see the :mod:`os.path` module, and if you want to | 10 you want to manipulate paths, see the :mod:`os.path` module, and if you want to |
| (...skipping 3285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3296 | 3296 |
| 3297 .. function:: urandom(n) | 3297 .. function:: urandom(n) |
| 3298 | 3298 |
| 3299 Return a string of *n* random bytes suitable for cryptographic use. | 3299 Return a string of *n* random bytes suitable for cryptographic use. |
| 3300 | 3300 |
| 3301 This function returns random bytes from an OS-specific randomness source. Th
e | 3301 This function returns random bytes from an OS-specific randomness source. Th
e |
| 3302 returned data should be unpredictable enough for cryptographic applications, | 3302 returned data should be unpredictable enough for cryptographic applications, |
| 3303 though its exact quality depends on the OS implementation. On a Unix-like | 3303 though its exact quality depends on the OS implementation. On a Unix-like |
| 3304 system this will query /dev/urandom, and on Windows it will use CryptGenRando
m. | 3304 system this will query /dev/urandom, and on Windows it will use CryptGenRando
m. |
| 3305 If a randomness source is not found, :exc:`NotImplementedError` will be raise
d. | 3305 If a randomness source is not found, :exc:`NotImplementedError` will be raise
d. |
| LEFT | RIGHT |