Hi Armin,

Observed behavior on Windows:

>>>> import PySide
>>>> import PySide.QtCore
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named PySide.QtCore
>>>> from PySide import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'QtCore'
>>>>

Expected behavior: The module PySide.QtCore should be imported successfully.

-----------------------------------------

If you are able to import PySide.QtCore and PySide.QtGui,
then the next step would be to try a simple hello world program:

import sys
from PySide.QtGui import *

app = QApplication(sys.argv)
label = QLabel("Hello World!")
label.show()
app.exec_()

This should display a small window with the text "Hello World!"

--Johan




_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to