micropython: add micropython component
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# construct a bytes object from a generator
|
||||
def gen():
|
||||
for i in range(4):
|
||||
yield i
|
||||
print(bytes(gen()))
|
Reference in New Issue
Block a user