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

    coding? Module? Tutorials? (Newbie)

    Scheduled Pinned Locked Moved Guides
    lopynetworktutorial
    7 Posts 5 Posters 2.2k Views 5 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.
    • H Offline
      hajermet
      last edited by

      -I haven't recieved my Lopy yet but I want try the codes on the doc section.
      Is that possible?
      -I tried to import the network module but can't access it online. where can I get that? (Even to simply read and not make it work)
      -Are there any tutorials you'd recommend to help getting started with pycom

      L 1 Reply Last reply Reply Quote 0
      • L Offline
        livius @hajermet
        last edited by livius

        @hajermet

        I tried to import the network module but can't access it online

        import where if you have not module yet?

        but examples you can find in official docs
        https://docs.pycom.io/chapter/firmwareapi/pycom/network/

        or
        https://github.com/pycom/pycom-libraries/tree/master/examples

        and some with modification should work from normal python but some not.
        This is micropython not full python.

        and you have many examples of user code on the forum.

        think about people first, then computers

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          hajermet @livius
          last edited by

          @livius
          Thanks for your reply but then I only did python before (so this may seem dumb) but can't I like download a .py file to read? (I want to understand what it basically is)

          L C 2 Replies Last reply Reply Quote 0
          • L Offline
            livius @hajermet
            last edited by

            @hajermet

            but can't I like download a .py file to read?

            What you tried download but you cannot? Please describe this more clearly.

            think about people first, then computers

            1 Reply Last reply Reply Quote 0
            • C Offline
              crumble @hajermet
              last edited by

              @hajermet said in coding? Module? Tutorials? (Newbie):

              @livius
              Thanks for your reply but then I only did python before (so this may seem dumb) but can't I like download a .py file to read? (I want to understand what it basically is)

              I don't think that reading examples will help for the basic understanding.
              You will find the examples on gitub

              The *Pys are basicly ESP32 microcontrolers which have WiFi and Bluetooth on board. Depending on the * they have additional radio systems. They run a port of micropython. The additional radio systems are the trick of the *Py. With them you can communicate with sensors and actors outside of your WiFi range. The * radio system will transport only small messages but with a much larger range than unpimped WiFi. Some of them use gateways to the internet too increase the range.

              It seems that pycom builds an ecosytem on top of these basic functionality, so you can buy expansion boards and sensors from them, which have easy to use libraries for micropython.

              1 Reply Last reply Reply Quote 0
              • sebS Offline
                seb
                last edited by dan

                Hi,

                You can find a series of code tutorials for pycom modules on our documentation website (https://docs.pycom.io/chapter/tutorials), we also provide code examples on our github (https://github.com/pycom/pycom-libraries). While micropython is very similar to regular python, there are libraries that are specific to our devices. I have noticed you have asked in several place on the forum where the "network" module comes from. This is not a regular python module that you can install on your desktop, but rather a module implemented in c by our firmware (https://github.com/pycom/pycom-micropython-sigfox/blob/master/esp32/mods/modnetwork.c). Due to the fact that some modules are only present on our firmware, there will be a lot of examples you cannot run on your desktop. On the other hand, most python you write on your desktop will run on pycom modules, micropython only has a few limitations compared to full python (https://github.com/micropython/micropython/wiki/Differences).

                D 1 Reply Last reply Reply Quote 0
                • D Offline
                  dicktonyboy @seb
                  last edited by

                  @seb https://docs.pycom.io/tutorials/introduction should be the link (without final / ) causing Newbie panic :)

                  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