import weechat weechat.register('python2', 'FlashCode', '0.1', 'GPL', 'Test info', '', '') weechat.prnt('', 'python2_bin: %s' % weechat.info_get('python2_bin', ''))