Feb-11-2019, 03:49 PM
Hi snippsat I have followed your advice and installed pyenv, It works a treat.
You can ignore this thread as I am now going to start all over again.
What I was hoping to achieve is a web page with a button that when pressed activated a GPIO for 3 seconds and then the GPIO returned to its origional setting and the web page reset so i could press the button again if needed. The pin information will be storeed in a database along with its name etc. and can then be accessed in other parts of the project, The tutorial I was following stored the pin info in nested dictionarys, and I could not understand how to use a database instead.
Warm regards
Paul
Hooked on Python
You can ignore this thread as I am now going to start all over again.
What I was hoping to achieve is a web page with a button that when pressed activated a GPIO for 3 seconds and then the GPIO returned to its origional setting and the web page reset so i could press the button again if needed. The pin information will be storeed in a database along with its name etc. and can then be accessed in other parts of the project, The tutorial I was following stored the pin info in nested dictionarys, and I could not understand how to use a database instead.
Warm regards
Paul
Hooked on Python