adafruit / Adafruit_CircuitPython_HTTPServer

Simple HTTP Server for CircuitPython
MIT License
46 stars 30 forks source link

Where should I put secrets.py? #13

Closed sgbaird closed 2 years ago

sgbaird commented 2 years ago

In lib? At the same level as code.py? Doesn't matter?

askpatrickw commented 2 years ago

Hi @sgbaird, you can put it in either place. import secrerts will work either way.

The convention is to put secrets.py along side your code.py. If you have more questions, checkout the CircuitPython Discord https://adafru.it/discord or Forums https://forums.adafruit.com/