Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #44.2K
Ranked #3K
~1K People Reached
About Me

Consultant

Favorite Forums
Favorite Tags

4 Posted Topics

Member Avatar for novice20

[code=python] import re snmpdata = open(snmpwalk_output) patt = re.compile(r"(\.\d+)+ = [A-Z]+\:") out = [ d for d in snmpdata if patt.match(d) ] outfile = open("z.txt","w") outfile.write('\n'.join(out)) outfile.close() [/code]

Member Avatar for ptmcg
0
231
Member Avatar for nkinar
Member Avatar for cgfxcoloneill
Member Avatar for cgfxcoloneill
0
267
Member Avatar for mattyd

Or just use XP zip compression - right click on the folder, and select Send To/Compressed Folder. XP wont unzip this thing, and neither will Python's zipfile module. -- Paul

Member Avatar for vegaseat
1
244

The End.