Source

cmcc / python / handle_user_status.py

1
2
3
4
5
6
#!/usr/bin/env python
import re
import os
f=file("user_status.htm","r")
for l in f.readlines():
    print re.findall(""" <input type="hidden" name="(.*)" value="(.*)">.*""",l)