Append Function - Tikolu/SETTI GitHub Wiki

Append - Append text to a page.


Usage:

Append(page="", text="", printOutput=True, sep="\n")

Arguments:

  • page - The page to download.
  • text - Text to append.
  • printOutput - If True, "Appended [text] to [page]" will be printed.
  • sep - This is separates the current text on the page, and the text you are appending.

This function doesn't return a value.

Code Example:

# Append a message to /chatroom

x = input("> ")
Append("chatroom", "{}: {}\n".format("Username", x))