Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WeeChat python script to print python version and path
import sys
import weechat
if weechat.register('test', 'test', 'test', 'test', 'test', 'shutdown', ''):
weechat.prnt('', str(sys.version))
weechat.prnt('', str(sys.path))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment