Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Scrapes the national debt and tweets it

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 data
Octocat-spinner-32 README
Octocat-spinner-32 example_config.cfg
Octocat-spinner-32 national_debt.py
README
retrieves the national debt and population, tweets it, and writes it to a file

example twitter output: http://twitter.com/#!/USADebtLevel/status/68023831498997760

national debt and population are retrieved from the us treasury and census sites
using beautifulsoup

the program expects a configuration file named config.cfg that matches the format
of example_config.cfg. 

includes functions get_national_debt() and get_us_population() 
Something went wrong with that request. Please try again.