Testing BlockHosts

2013-10-16 Thread T . h . i . r . d_3y3
Hello Can somebody tell me how I can test BockHosts? I want to see if an IP address gets blocked or not, as I have to provide evidence of testing for a presentation. Any help will be greatly appreciated, thank you -- https://mail.python.org/mailman/listinfo/python-list

dynamically creating classes from text

2012-01-24 Thread T H
I’m new to python, sorry if my question is a bit naive, I was wondering if it is possible to parse some text (ie. from a text file or say html) and then dynamically create a class? for example lets say the contents of the text file is: functionName: bark arg1: numberBarks functionName: