enquete class documentation + a bit of the others
This commit is contained in:
@@ -13,6 +13,11 @@ def dbLogin():
|
||||
database="NodeData"
|
||||
)
|
||||
return mydb
|
||||
```
|
||||
The "__init__"function is called.
|
||||
(In javascript this is known as the "constructor".
|
||||
For further information visit https://www.w3schools.com/python/gloss_python_class_init.asp)
|
||||
```py
|
||||
# A general class which acts as a database connector and a node identifyer
|
||||
class Node():
|
||||
|
||||
|
Reference in New Issue
Block a user