[PyQt] Get platform?

mw mark at tangsoo.us
Tue Feb 15 16:57:01 GMT 2011


import os
os.name

http://docs.python.org/library/os.html


On Tue, Feb 15, 2011 at 8:51 AM, todd rme <toddrme2178 at gmail.com> 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    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110215/e0d5aaae/attachment.html>


More information about the PyQt mailing list