Categories
code programming

Python Challenge

OK, so I’ve been playing about with the Python Challenge. I’ve only got as far as challenge 9, but I thought some other people out there might find this little python script useful. For each challenge, there’s an associated function, do challenge 0 is solved by pc0() etc. You can run it from the command line by giving the challenge number as the argument. With no argument, it will print all the challenges it knows about, and the doc string for each, which I use for the URL so I can easily track what I’ve done. There’s also a function in there that will return a list of all the comments in the HTML page at a given URL, which saves a lot of time and copying for some of the challenges 😉

If you decide to try it out or you find it useful, please let me know.

pythonchallenge.py

Blogged with the Flock Browser

Tags: , ,

Categories
Uncategorized

Testing BlogIt

BlogIt allows me to update all my blogs from my Facebook page. Interesting idea.

Categories
Uncategorized

Testing BlogIt

BlogIt allows me to update all my blogs from my Facebook page. Interesting idea.