How to program X11 in python



When someone asks something about Python, be sure to tag me ( @DevynCJohnson ). I love Python and it is my preferred and favorite programming language.

As for the question, you need the python-xlib library/module.

https://pypi.python.org/pypi/python-xlib
http://python-xlib.sourceforge.net/

NOTE:
python-xlib is for Python2 and python3-xlib is for Python3

Various installation methods

apt-get install python-xlib python3-xlib

pip2 install python-xlib

pip3 install python3-xlib


This may help - http://rosettacode.org/wiki/Window_creation/X11
 
When someone asks something about Python, be sure to tag me ( @DevynCJohnson ). I love Python and it is my preferred and favorite programming language.

As for the question, you need the python-xlib library/module.

https://pypi.python.org/pypi/python-xlib
http://python-xlib.sourceforge.net/
NOTE: python-xlib is for Python2 and python3-xlib is for Python3

Various installation methods

apt-get install python-xlib python3-xlib

pip2 install python-xlib

pip3 install python3-xlib


This may help - http://rosettacode.org/wiki/Window_creation/X11
Is there a tutorial for python-xlib
 

Members online


Top