Modifications

Sauter à la navigation Sauter à la recherche
350 octets ajoutés ,  21 février 2018 à 21:21
Ligne 34 : Ligne 34 :  
Installing micropython-abc 0.0.1 from https://pypi.python.org/packages/fe/9e/56d08ca07866279e6d3506d469e632471487a840eef38ab835d0fdbcafd0/micropython-abc-0.0.1.tar.gz
 
Installing micropython-abc 0.0.1 from https://pypi.python.org/packages/fe/9e/56d08ca07866279e6d3506d469e632471487a840eef38ab835d0fdbcafd0/micropython-abc-0.0.1.tar.gz
 
</nowiki>
 
</nowiki>
 +
 +
il est ensuite possible de contrôler l'installation:
 +
 +
<syntaxhighlight lang="python">
 +
>>> import os
 +
>>> os.listdir()
 +
['boot.py', 'mqtt_sub.py', 'webrepl_cfg.py', 'mqtt_pub.py', 'main._', 'aio_demo.py', 'diss_irq.py', 'lib']
 +
>>> os.listdir('lib')
 +
['abc.py']
 +
>>> import abc
 +
>>> help( abc )
 +
object <module 'abc'> is of type module
 +
 +
</syntaxhighlight>
29 917

modifications

Menu de navigation