Jump to content

Recommended Posts

Posted

Hello,

I want to learn PyBricks that seems to be a MicroPython Version.

I'm novice here and want to find Information on Basics of the Language.

For example :

from mindstorms import MSHub, Motor, MotorPair, ColorSensor, DistanceSensor, App
import hub as hb
from mindstorms.control import wait_for_seconds, wait_until, Timer
from mindstorms.operator import greater_than, greater_than_or_equal_to, less_than, less_than_or_equal_to, equal_to, not_equal_to
import math

So when I need some Functions of Library math, then I have to include them by import.

But what is then difference to from mindstorms import MSHub ?

And what is intention of from mindstorms.control import wait_for_seconds ?

What is difference to from mindstorms import MSHub ?

What commands are still included and has not to be imported ?

Where can I find a Table/List/Overview about this ?

Where can I find a Table/List what Modules are available for import and what they contains ?

 

Sorry for this Newbe Questions, Jo

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...