what can i get from object.attribute? what does it do?
Thank you :)
It`s better that you make a simple class and post that code.
Then ask what you dont understand.
If you dont now how to make a class at all,read some tutorials or seek google.
i just don't know when i can use object.attribute?
At anytime, dinner... literally anytime.
An attribute is a way to get from one object to another. Apply the power of the almighty dot.
There is a book out titled "Python Attributes and Methods", I suggest you read it. You can download a pdf version from:http://www.cafepy.com/article/python_attributes_and_methods/python_attributes_and_methods.pdf
Edited 8 Years Ago
by vegaseat: dot
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons:
I have written a formal Deadlock prevention code but I'm having trouble implementing this algorithm. Any help is appreciated.
I have represented the algorithm below,
Formal algorithm description
Data structures ...
from tkinter import*
conn = sqlite3.connect('REVISION CARD.db')