Python Classes

In Python you create a class with: class Like: class MyCalculator(object): Member variables are variables defined within a class.  For example: class MyCalculator(object): statement = “Welcome to the calculator” You can access member variables with dot notation like so: Frist lets create an instance of the class: my_calc = MyCalculator() Continue Reading

404 Checker

After getting a ping from a friend of mine, I updated my web scrapper and modified it a bit to fit his needs.  He wanted to catch 404’s… so I sent him my old web scrapper.  The problem was though, his test machine had limited memory.  Due to that it Continue Reading