# Python Sample Code Error on Company Website

**URL:** <https://forums.blinkstick.com/t/python-sample-code-error-on-company-website/1553>\
**Category:** Meta\
**Created:** [May 18, 2022, 5:57pm UTC](https://forums.blinkstick.com/t/python-sample-code-error-on-company-website/1553 "2022-05-18T17:57:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sammy\_7215](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/sammy_7215/32/782_2.png) [@Sammy\_7215](https://forums.blinkstick.com/u/Sammy_7215)\
**Post date:** [May 18, 2022, 5:57pm UTC](https://forums.blinkstick.com/t/python-sample-code-error-on-company-website/1553/1 "2022-05-18T17:57:45Z")

</div>

![image](https://forums.blinkstick.com/uploads/default/original/1X/f30f6b29277fa0bdee8da5edc9ef34f3ce9f9ea7.png)  
Not to nitpick, but the sample python code in this snippet is incorrect. There is no need for the colin, as the command isnt conditional and will return an error.  
The code instead could be:

from Blinkstick import Blinkstick  
bstick = blinkstick.find\_first()  
bstick.set\_color(“red”)
