Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 642 Bytes

File metadata and controls

25 lines (17 loc) · 642 Bytes

pyalog

Python 3 library for easy managing desktop dialog boxes

Currently there is only kdialog implementation, but zenity is also in the scope

Requirements

  • Python 3.x for any desktop
  • kdesu for plasma desktop
  • gksu for gtk-based desktop (gnome, ubuntu...)

Usage

The simplest usage is letting pyalog to guess which dialog tool should be used:

from pyalog import pyalog
pyalog.msgbox('hello world')

You may, however, force the tool to be used by using the pyalog_set method:

from pyalog import pyalog
from pyalog import pyalog_set
...
pyalog = pyalog_set('zenity')
pyalog.msgbox('hello world')