Skip to content

AXChrono/lego-pybricks-collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LEGO® Pybricks Collection

A collection of Pybricks scripts I made, mainly for vehicles.

My first introduction to Pybricks was by an article on RacingBrick. Most, if not all, of my vehicle related scripts find its roots from the scripts over there.

Create Python virtual environment in VSCode

This is mainly needed to get no code errors and make use of IntelliSense.

Based on the information on this support topic on GitHub.

  • Open the Command Pallette (from the menu bar: open Help → Show All Commands or just press Ctrl + Shift + P) and search for Python: Create Environment....

  • Select Venv to create a .venv environment.

  • Select the python version.

  • A .venv folder should now be created.

  • Open the Command Pallette (from the menu bar: open Help → Show All Commands or just press Ctrl + Shift + P) again and search for Python: Create Terminal.

  • Execute the following in the Terminal:

    python -m pip install --upgrade pip
    pip install git+https://github.com/pybricks/pybricks-api@master

Disclaimer

LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages