Error in documentation
-
Hi, this page contains an error. import os followed by os.fsformat('flash') is wrong, it should be os.fsformat('/flash') -lets not make life harder than it is :)
-
Thanks, I'll fix this! If you want to get involved, you can submit a Pull Request on our GitHub documentation repo! https://github.com/pycom/pycom-documentation
I know there are more errors and mistakes out there, just cannot get to all of them -
Just came across this topic when trying to troubleshoot.
These are now the functions in os:
['__name__', 'uname', 'chdir', 'getcwd', 'listdir', 'mkdir', 'rename', 'remove', 'rmdir', 'stat', 'unlink', 'sync', 'urandom', 'getfree', 'mount', 'unmount', 'mkfs', 'dupterm', 'sep']So you renamed the function again and reverted it back to mkfs? Then the documentation needs to be edited again because fsformat does not work at all. (I am using the latest firmware version).
-
In the latest version (1.20.2.r0)
os.fsformat()is available, andos.mkfs()does not work.. Which firmware version are you running then?On the other parts, I totally agree with you. Im looking for the best method to document such things to be more complete in the documentation, and not make it more confusing for beginners. If you have some documentation style you prefer, let me know!
Gijs
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login