esp8266 & esp32
Posted: Thu Jul 16, 2020 9:13 am
how can i check if path exist in micropython:
if not os.path.exists(b):
os.mkdir(b)
if not os.path.exists(vers):
os.mkdir(vers)
doesn't work i got this error:
AttributeError: 'module' object has no attribute 'path'
if not os.path.exists(b):
os.mkdir(b)
if not os.path.exists(vers):
os.mkdir(vers)
doesn't work i got this error:
AttributeError: 'module' object has no attribute 'path'