Answer the question
In order to leave comments, you need to log in
What are extensible Python application architectures (OOP)?
What I was going for, here is the directory:
- - cgi-bin
- - | - - a.py
- - | - - a
- - | - - | - - __init__.py
- - | - - | - - b.py
- - | - - | - - b
- - | - - | - - | - - __init__.py
- - | - - | - - | - - c.py
- - | - - | - - | - - c
. . .
class a:
prop = 5
class b (a):
prop = 7
a.prop
a.b.prop
# 5
# 7
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question