sean-obrien / rpotter

Raspberry Potter - Use a wand to control the IoT (Internet of Things)
https://www.raspberrypotter.net/
MIT License
57 stars 51 forks source link

Scan is not defined #9

Open danwaters opened 6 years ago

danwaters commented 6 years ago

I’m new to Python and this may be a stupid question, but I’m almost at the finish line with this project.

I took the rpotter.py script and downloaded it from Github into the home directory of my pi, and within my cv virtualenv typed python rpotter.py and got “Scan is not defined.”

I get that python is interpreted and needs definitions before they are called... but how do you run the script and get this to work with the methods defined below where they are used?