micropython-samples icon indicating copy to clipboard operation
micropython-samples copied to clipboard

extend the feature __import__

Open felinh opened this issue 11 months ago • 1 comments

Hello Peter Thank you for your amazing work on microPython, it is a bible for me.

I have a question:

is it possible to extend the feature __import__(mymodule) but with the from for exemple:

from (mymodule) import (myFunction)

where mymodule and myFunction are string?

Thank you very much.

felinh avatar Mar 11 '24 16:03 felinh

That is a good question. Unfortunately I don't know the answer.

peterhinch avatar Mar 13 '24 14:03 peterhinch