Adafruit Dotstar LED code for Python

We are trying to use LEDs this year, and we got the adafruit dotstar LED strips since they connect straight to the Rio. We can’t figure out how to program them in. We tried the code that was on the adafruit website for python, but are still extremely confused. Thanks for any help!