Oct-16-2024, 01:51 AM
Hello,
I understand very well, your explanation is cool. I had the doubt if there could be functions that don't belong to a class, that in .Net there can't be, I now see in Python, yes.
About the packaging, how could I put the FontDialog class in a separate file and import it in the MainWindow file? Suppose the file is fontdialog.py.
Is it:
from fontdialog import FontDialog
or
import FontDialog
?
Thank you
Pablo
I understand very well, your explanation is cool. I had the doubt if there could be functions that don't belong to a class, that in .Net there can't be, I now see in Python, yes.
About the packaging, how could I put the FontDialog class in a separate file and import it in the MainWindow file? Suppose the file is fontdialog.py.
Is it:
from fontdialog import FontDialog
or
import FontDialog
?
Thank you
Pablo