Skip to content

Instantly share code, notes, and snippets.

@wittyfilter
wittyfilter / python_resources.md
Created October 29, 2013 08:05 — forked from jookyboi/python_resources.md
Python-related modules and guides.

Packages

  • lxml - Pythonic binding for the C libraries libxml2 and libxslt.
  • boto - Python interface to Amazon Web Services
  • Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
  • Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
  • PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
  • Celery - Task queue to distribute work across threads or machines.
  • pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.

Guides

#!/usr/bin/python
import webbrowser
import os
import string
import time
from weibo import *
def press_sina_weibo():
APP_KEY = '- - - - - - - - - -' #your app key
APP_SECRET = '- - - - - - - - ' # your app secret
CALLBACK_URL = '- - - - - - - -' #your CALLBACK_URL