Skip to content
Discussion options

You must be logged in to vote

or am I importing the same code just under a different module name?

Indeed in both cases you are importing the same code

You can / should use the non-prefixed libraries in almost all cases. This also allows a better portability of modules between MicroPython and CPyhon.

There may be some cases however where there is benefit to be able to differentiate between the platforms , and the methods available, such as time.sleep_ms.

Replies: 1 comment 1 reply

Comment options

Josverl
Aug 12, 2024
Collaborator Sponsor

You must be logged in to vote
1 reply
@lukaskremla
Comment options

Answer selected by lukaskremla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants