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?
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?