BramDocs
This commit is contained in:
@@ -204,8 +204,8 @@ And here is the the board working:
|
||||
### Python For Dummies.
|
||||
My job was to make a connection between the WebSocket and the database we had set up, and to do this we wanted to use python.
|
||||
I had never used python before and was totally new to the entire code structure and wording.
|
||||
Because I was totally new to all of python, I asked ChatGPT for and example and some concrete code.
|
||||
I asked it my question which was the assignment I was given and tried to reverse learn this way.
|
||||
Because I was totally new to all of python I began asking friends for advice and started asking chatgpt for some examples.
|
||||
and worked in reverse in order to understand python fully.
|
||||
I went and looked up fitting tutorials on W3SChools.
|
||||
The following were used:
|
||||
|
||||
@@ -245,3 +245,9 @@ Even if it looked simple, this was the ignition I needed to understand python be
|
||||
### Python for dummmies pt2
|
||||
after some intense trail and error, I managed to connect to the websocket.
|
||||
After wich i also managed to send infromation to the database by including details like pasword and such.
|
||||
I began investigating deeper and asked for other people their vision on my code.
|
||||
It wasa hard to notice what problems there were, but eventualy me and a classmate found out that the problem was inside of the database itself.
|
||||
So after fixing some issues with the primary keys and some tesing with the code, I managed to fix the issues for the time being.
|
||||
Now the code is able to send websocket data to the database under the name of node "1".
|
||||
This will have to be updated so all names could be sent to the database without causing issues.
|
||||
But the current code does what we expect from sprint two but I will surely continue working on making it perfect.
|
||||
|
Reference in New Issue
Block a user