import os<br><a href="http://os.name">os.name</a><br><br><a href="http://docs.python.org/library/os.html">http://docs.python.org/library/os.html</a><br><br><br><div class="gmail_quote">On Tue, Feb 15, 2011 at 8:51 AM, todd rme <span dir="ltr"><<a href="mailto:toddrme2178@gmail.com">toddrme2178@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Is there any way inside pyqt, or in python, to determine what platform<br>
you are using? Specifically, I want to know if the widget is done in<br>
x11. I don't think I can check for x11 environment variables since I<br>
at least think mac can have x11 installed without using it for Qt. I<br>
need to know if the actual pyqt4 window is using X11.<br>
<br>
-Todd<br>
_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</blockquote></div><br>