uos vs os modules

Discussion related to "under the hood" OpenMV topics.
User avatar
kwiley
Posts: 107
Joined: Fri Dec 21, 2018 5:22 pm

uos vs os modules

Postby kwiley » Fri Feb 01, 2019 5:43 pm

How does the uos module differ from the more standard os module? Should I be using one over the other if I want to read/write arbitrary files (not necessarily images, gifs, or videos) to and from the SD card?

Same question applies to the uio and io modules of course.
User avatar
kwagyeman
Posts: 3205
Joined: Sun May 24, 2015 2:10 pm

Re: uos vs os modules

Postby kwagyeman » Fri Feb 01, 2019 6:09 pm

Um, I think they are the same but use the uio/uos versions. MicroPython specs them instead of the standard ones.
Nyamekye,
User avatar
iabdalkader
Posts: 918
Joined: Sun May 24, 2015 3:53 pm

Re: uos vs os modules

Postby iabdalkader » Fri Feb 01, 2019 6:11 pm

They both link to the same module, some googling verifies this:

https://forum.micropython.org/viewtopic.php?t=5124

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 65 guests