import os os.name http://docs.python.org/library/os.html
On Tue, Feb 15, 2011 at 8:51 AM, todd rme <[email protected]> wrote: > Is there any way inside pyqt, or in python, to determine what platform > you are using? Specifically, I want to know if the widget is done in > x11. I don't think I can check for x11 environment variables since I > at least think mac can have x11 installed without using it for Qt. I > need to know if the actual pyqt4 window is using X11. > > -Todd > _______________________________________________ > PyQt mailing list [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/pyqt >
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
