I have always thought that wxpython occupies a lot of memory. some small program applications written at work, a pair of other small programs, found that the memory difference is indeed a little large and I always thought that wxpython occupies a lot of memory, some small program applications written at work, a pair of other small programs, found that the memory difference is indeed a little large.
Tested the QT framework.
The code is as follows:
Import sys, time
From PyQt4 import QtCore, QtGui
# Import wx
If _ name _ = "_ main __":
While True:
Time. sleep (1)
When only the framework is loaded, the memory usage is significantly different.
Generally, the load of wx is around 20 MB, and I write a few applications, so the main memory usage is the framework, and the actual usage of the program is about a few MB.
The loading of pyqt is about 9 m, and no tests have been performed in the specific application.
It seems that we can still try to develop the QT framework in the future, and there is also a Designer.