Qt 6.11 is out! See what's new in the release
blog
Fail to import icons_rc with Python 3.3
Language Bindings
2
Posts
2
Posters
2.2k
Views
1
Watching
-
I have a simple app I am working on. Everything worked fine under Python 2.7, but when I switched to Python 3.3, suddenly importing icons_rc fails. I have icons_rc.py in a subfolder and the subfolder contains an init.py file. If I move icons_rc.py into the main folder, it imports correctly.
-
you'd better not move it.Each time when you run your program ,the current folder is always the one that the start file lives in.