Posts by Cachorro_louco • 63 points
4 posts
-
-2
votes1
answer42
viewsQ: I cannot make two modules of the same package "recognize"
Good evening, I’m learning more about importing and creating packages. But I can’t get two modules to "communicate", follow the link: https://github.com/Gramosa/Importacao_teste If you look at the…
-
5
votes2
answers74
viewsQ: What it really means "from modulox import *"
As far as I know it matters all the classes and functions of a certain file without having to reference it in the code, right? But I’m beginning to think from modulo import * doesn’t mean that. I…
-
0
votes1
answer87
viewsQ: Is it possible, somehow in python, to create attributes in a class that is common to all objects?
Is it possible, somehow in python, to create attributes in a class that is common to all objects? And somehow if it is changed during the execution of the program change to all objects already…
-
0
votes3
answers149
viewsQ: (Python) How to prevent methods from being accessed from the value of some attribute
It may not have been very clear about the title, but I wanted it only to be possible to use a method on an object if one or more of its attributes are in a certain way. For example: A TV class that…
pythonasked Cachorro_louco 63