Modifications

Sauter à la navigation Sauter à la recherche
178 octets ajoutés ,  1 juin 2021 à 16:07
Ligne 100 : Ligne 100 :  
>>> os.listdir( "/sd" )
 
>>> os.listdir( "/sd" )
 
['adafruit_feather_esp8266.md', 'adafruit_feather_esp32.md', 'adafruit_feather_rp2040.md', 'adafruit_huzzah_esp32.md', 'adafruit_huzzah_esp8266.md', 'adafruit_itsybitsy_rp2040.md', 'garatronic_pyb405.md', 'garatronic_pybstick26std.md', 'micropython_pybd_sf2w.md', 'micropython_pyboard.md', 'olimex_esp32_devkit_lipo.md', 'olimex_esp32_evb.md', 'olimex_esp8266_dev.md', 'olimex_esp8266_evb.md', 'pimoroni_pico_lipo.md', 'pimoroni_tiny_2040.md', 'raspberrypi_pico.md', 'sparkfun_micromod_rp2040.md', 'sparkfun_thing_plus_rp2040.md']
 
['adafruit_feather_esp8266.md', 'adafruit_feather_esp32.md', 'adafruit_feather_rp2040.md', 'adafruit_huzzah_esp32.md', 'adafruit_huzzah_esp8266.md', 'adafruit_itsybitsy_rp2040.md', 'garatronic_pyb405.md', 'garatronic_pybstick26std.md', 'micropython_pybd_sf2w.md', 'micropython_pyboard.md', 'olimex_esp32_devkit_lipo.md', 'olimex_esp32_evb.md', 'olimex_esp8266_dev.md', 'olimex_esp8266_evb.md', 'pimoroni_pico_lipo.md', 'pimoroni_tiny_2040.md', 'raspberrypi_pico.md', 'sparkfun_micromod_rp2040.md', 'sparkfun_thing_plus_rp2040.md']
 +
>>>
 +
>>> # Démonter la carte SD
 +
>>> os.umount("/sd")
 +
>>> os.listdir( "/sd" )
 +
Traceback (most recent call last):
 +
  File "<stdin>", line 1, in <module>
 +
OSError: [Errno 2] ENOENT
 +
 
</syntaxhighlight>
 
</syntaxhighlight>
  
29 917

modifications

Menu de navigation