Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

slisten.py: Revision history

From Randomness wiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

12 September 2024

9 September 2024

  • curprev 21:5121:51, 9 September 2024Derg talk contribs 2,984 bytes +2,984 Created page with "<syntaxhighlight lang="python"> #!/usr/bin/python3 import argparse import json import sys import redis a = argparse.ArgumentParser() a.add_argument('-s', dest='subscribe', action='append') a.add_argument('-p', dest='psubscribe', action='append') a.add_argument('-r', dest='raw', action='store_true') a.add_argument('-n', dest='nochannel', action='store_true') a.add_argument('-f', dest='prettyprint', action='store_true') a.add_argument('-c', dest='contains', action='store..."