Tag: Python

  • Python Imap Gmail

    Connecting to a Google Gmail account is easy with Python using the built in imaplib library. It’s possible to download, read, mark and delete messages in your gmail account by scripting it. Here’s a very simple script that prints out the latest email received: #!/usr/bin/env python import imaplib M=imaplib.IMAP4_SSL(‘imap.gmail.com’, 993) M.login(‘myemailaddress@gmail.com’,’password’) status, count = M.select(‘Inbox’)…

  • Python Web Crawler Script

    Here’s a simple web crawling script that will go from one url and find all the pages it links to up to a pre-defined depth. Web crawling is of course the lowest level tool used by Google to create its multi-billion dollar business. You may not be able to compete with Google’s search technology but…

  • Amazon Product Advertising API From Python

    Amazon has a very comprehensive associate program that allows you to promote just about anything imaginable for any niche and earn commission for anything you refer. The size of the catalog is what makes Amazon such a great program. People make some good money promoting Amazon products. There is a great Python library out there…

  • Get Your ClickBank Transactions Into Sqlite With Python

    Clickbank is an amazing service that allows anyone to easily to either as a publisher create and sell information products or as an advertiser sell other peoples products for a commission. Clickbank handles the credit card transactions, and refunds while affiliates can earn as much as 90% of the price of the products as commission.…

  • Scrape Google Search Results Page

    Here’s a short script that will scrape the first 100 listings in the Google Organic results. You might want to use this to find the position of your sites and track their position for certain target keyword phrases over time. That could be a very good way to determine, for example, if your SEO efforts…

  • Google Page Rank Python Script

    This isn’t my script but I thought it would appeal to the reader of this blog.  It’s a script that  will lookup the Google Page Rank for any website and uses the same interface as the Google Toolbar to do it. I’d like to thank Fred Cirera for writing it and you can checkout his…

  • Targeting Twitter Trends Script

    I noticed that several accounts are spamming the twitter trends. Go to twitter.com and select one of the trends in the right column. You’ll undoubtedly see some tweets that are blatantly inserting words from the trending topics list into unrelated ads. I was curious just how easy it would be to get the trending topics…