[Microbit-Python] importing modules using uflash
hot.toast
hot.toast at yahoo.co.uk
Sun Sep 11 07:47:20 EDT 2016
So as i understand it,
1. uFlash is limited to python scripts that contain all the local
function and class definitions. The only imports that are allowed are
those from the microbit version of micropython.
2. If I want to import "mymodule.py" from a file on my local hard
drive, I will have to use the latest version of the mu editor...
On 11/09/16 12:19, David Whale wrote:
> Make sure you use the most up to date version of Mu though to do this, as
> it was a feature that was added reasonably recently. The version of Mu in
> the Raspberry Pi repo's is still out of date at the moment, and might not
> have this feature included yet.
>
>>
>>
>
>
> _______________________________________________
> Microbit mailing list
> Microbit at python.org
> https://mail.python.org/mailman/listinfo/microbit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/microbit/attachments/20160911/c4f0dc54/attachment.html>
More information about the Microbit
mailing list