MicroPython:Библиотеки/esp32/Класс Partition/Partition.info(): различия между версиями

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску
(Новая страница: «{{MicroPython/Панель перехода}} {{Перевод от Сubewriter}} {{Myagkij-редактор}} =Partition.info()<ref>[http://docs.micropython.or...»)
 
Нет описания правки
 
Строка 6: Строка 6:
=Partition.info()<ref>[http://docs.micropython.org/en/latest/library/esp32.html docs.micropython.org - esp32 — functionality specific to the ESP32]</ref>=
=Partition.info()<ref>[http://docs.micropython.org/en/latest/library/esp32.html docs.micropython.org - esp32 — functionality specific to the ESP32]</ref>=


<syntaxhighlight lang="python" enclose="div">
<syntaxhighlight lang="python">
Partition.info()
Partition.info()
</syntaxhighlight>
</syntaxhighlight>
Строка 12: Строка 12:
Возвращает ''6''-элементный [[кортеж]]:  
Возвращает ''6''-элементный [[кортеж]]:  


<syntaxhighlight lang="python" enclose="div">
<syntaxhighlight lang="python">
(type, subtype, addr, size, label, encrypted)
(type, subtype, addr, size, label, encrypted)
</syntaxhighlight>
</syntaxhighlight>

Текущая версия от 20:04, 23 мая 2023

Перевод: Максим Кузьмин
Проверка/Оформление/Редактирование: Мякишев Е.А.


Partition.info()[1]

Partition.info()

Возвращает 6-элементный кортеж:

(type, subtype, addr, size, label, encrypted)

См.также

Внешние ссылки