Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Error in documentation

    Scheduled Pinned Locked Moved Comments & Feedback
    4 Posts 3 Posters 46 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Don-iotD Offline
      Don-iot
      last edited by

      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 :)

      1 Reply Last reply Reply Quote 1
      • G Offline
        Gijs
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • techykermitT Offline
          techykermit
          last edited by techykermit

          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).

          1 Reply Last reply Reply Quote 0
          • G Offline
            Gijs
            last edited by Gijs

            In the latest version (1.20.2.r0) os.fsformat() is available, and os.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

            1 Reply Last reply Reply Quote 0

            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
            • 1 / 1
            • First post
              Last post

            Pycom on Twitter

            Pycom