diff options
Diffstat (limited to 'docs/library/os.rst')
-rw-r--r-- | docs/library/os.rst | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/docs/library/os.rst b/docs/library/os.rst index f6b20dca6f..df5ade3277 100644 --- a/docs/library/os.rst +++ b/docs/library/os.rst @@ -1,21 +1,24 @@ -:mod:`os` --- basic "operating system" services -=============================================== +:mod:`os` -- basic "operating system" services +============================================== .. module:: os :synopsis: basic "operating system" services The ``os`` module contains functions for filesystem access and ``urandom``. -The filesystem has ``/`` as the root directory, and the available physical -drives are accessible from here. They are currently: +Pyboard specifics +----------------- - /flash -- the internal flash filesystem - /sd -- the SD card (if it exists) +The filesystem on the pyboard has ``/`` as the root directory and the +available physical drives are accessible from here. They are currently: + + ``/flash`` -- the internal flash filesystem + + ``/sd`` -- the SD card (if it exists) On boot up, the current directory is ``/flash`` if no SD card is inserted, otherwise it is ``/sd``. - Functions --------- @@ -56,7 +59,6 @@ Functions Return a bytes object with n random bytes, generated by the hardware random number generator. - Constants --------- |