new Curtis content
Monday, May 10th, 2004just 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…
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…
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 [...]
cw