This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pip module - atlassian-python-api, markdownify | |
from atlassian import Confluence | |
from markdownify import markdownify as md | |
page = confluence.get_page_by_id(261095431, expand='body.storage') | |
body_html = page['body']['storage']['value'] | |
body_markdown = md(body_html) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Create a superset from the integers provided | |
e.g. ./superset.py 1 2 3 | |
[set([]), set([1]), set([2]), set([3]), set([1, 2]), | |
set([1, 3]), set([2, 3]), set([1, 2, 3])] | |
""" | |
import sys |