Closed gregdeon closed 7 years ago
There is no perfect workaround for this - Python code has to be run when it's imported. I'm going to add a README with a warning in this folder. We should encourage people to use if __name__ == "__main__":
so this doesn't happen.
Any .py files in
chipwhisperer/software/chipwhisperer/capture/scripts
will get automatically run (ie: any code outside of functions or classes will be run automatically). This can cause ChipWhisperer to break pretty badly (can't connect to CW hardware, etc).One way to reproduce is to put the code from Tutorial B11 into the scripts folder.