summaryrefslogtreecommitdiffstats
path: root/README
blob: e0b2434fd1b6e151848355933a5203c50162451b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
irssi-python test1

irssi-python embeds Python into an Irssi module, providing most of the
functionality of the Perl wrapper to Python scripts using a similar interface.
Read INSTALL for setup instructions.

Currently, all of the objects and functions are accessible through the irssi
module. See docs/irssi-python.html for a listing. Basic docs are also available
online in Irssi, as well. Use the /pyexec command to send commands to the Python
interpreter while in Irssi. 

This will print help for the Window object:
    /pyexec import irssi
    /pyexec help(irssi.Window)

Other commands (XXX: change these to /py <cmd>):
    /pyload     load a Python script
    /pyunload   unload a Python script
    /pylist     list loaded scripts