All Questions
3 questions
0
votes
1
answer
186
views
Classes interacting each other
i wants to make one class interact in another through a function.
a button that when clicked, add 1. But when I make the interaction, there is an error saying that Resources has not been defined
this ...
1
vote
4
answers
11k
views
Python object interaction
So, programming in Python 3, I've got a program with a problem whose essence I've distilled in this (non)functional piece of code:
class One:
def __init__(self):
self.var1 = 1
def ...
0
votes
2
answers
1k
views
getting two classes to interact
I am having trouble getting two classes to interact. Here is the code for the first class where i am importing file youtest.py:
from youtest import MyTest
class RunIt(object):
def __init__(...