Archive for May, 2004

new Curtis content

Monday, May 10th, 2004

just a quick post to let y’all know that there is new secret curtis content on the loose!
cw
Ok, the secret curtis stuff should work now. Thanks to Ashby for pointing out my blunder…

python simplicity

Thursday, May 6th, 2004

Ok, needed to return only the numerical portion from a string like ‘h00009492a802.ne.client2.attbi.com’. Pretty simple to do in Python:

def onlyNum(s):
num = [n for n in s if n.isdigit()]
return ”.join(num)

Voila. And the result?

>>> s = ‘h00009492a802.ne.client2.attbi.com’
>>> onlyNum(s)
‘000094928022′

The idea was to check the amount of numerical [...]

just when you thought I’d forgot!

Saturday, May 1st, 2004

cw