Use a python convention for testing code.
Use a python convention for testing code.

When the script is run directly, sampleCode() will be run. When this script is imported from another module, the if statement will fail, and it will import normally. In addition, sampleCode() may be run independantly in another script.

See http://stackoverflow.com/questions/419163/what-does-if-name-main-do#answer-20158605 for more information.

AluminatiFRC/Vision2016,AluminatiFRC/Vision2016