micropython: add micropython component
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
"""
|
||||
categories: Modules,os
|
||||
description: ``getenv`` returns actual value instead of cached value
|
||||
cause: The ``environ`` attribute is not implemented
|
||||
workaround: Unknown
|
||||
"""
|
||||
import os
|
||||
|
||||
print(os.getenv("NEW_VARIABLE"))
|
||||
os.putenv("NEW_VARIABLE", "VALUE")
|
||||
print(os.getenv("NEW_VARIABLE"))
|
Reference in New Issue
Block a user