- Comcast internet usage script

This thread has moved to my new site here:

Yesterday I wrote a little python script that grabs your current Comcast internet usage and prints it to stdout. It depends on the excellent mechanize module so if you don't have it, install it with mechanize.

To run the script, simply execute You will be prompted for your Comcast username and password. Alternatively, you can create an entry in your ~/.netrc file with your Comcast credentials. The entry should look like:

login [email protected]
password password

where username is your Comcast username and password is your Comcast password.

I'll be running this in a cron job every few days to monitor my usage and send a warning email to myself if the usage gets near the limit. Hopefully someone else will also find this useful!


Published: April 21, 2011

Author: jmhobbs

Word Count: 154


bandwidth comcast internet python usage

  • Tag Cloud


    Copyright © 2015 Jared Hobbs. All rights reserved. Powered by Pelican. The Hobbs Family theme available here.