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
| import requests | |
| import re | |
| user = re.sub(r'\W+', '', (raw_input('user name: ').lower()) ) | |
| url = "https://twitter.com/" + user | |
| req = requests.get(url).content | |
| lines = req.splitlines() |
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
| # -*- coding: utf-8 -*- | |
| # iOS Pythonista import | |
| import console | |
| import clipboard | |
| console.set_font('Helvetica Neue') | |
| # End Pythonista import | |
| superf = u""" | |
| ☆。 ★。 ☆ ★ | |
| 。☆ 。☆。☆ |
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
| import tempfile | |
| import webbrowser | |
| import os | |
| import markdown | |
| import codecs | |
| templateIn = """ | |
| {styles}(my.css) | |
| # This is a Headline from file 1 |
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/python | |
| # Locally hosted CherryPy table conversion. Simplified from standalone CLI Gist. | |
| # Standard 2.7 library, except for CherryPy and Markdown modules. | |
| import cherrypy | |
| import os | |
| import markdown | |
| import cgi | |
| import re | |
| from xml.sax.saxutils import escape, unescape |
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 | |
| # More cleanup on this script to isolate the areas it's touching to paragraphs starting with "|", the rest is Python Markdown module. | |
| import markdown | |
| import sys | |
| import codecs | |
| from itertools import tee, islice, chain, izip | |
| #Blog settings | |
| url = "http://www.artofjoe.com/" | |
| creator = "Joseph Rosensteel" |