Introduction:
- Check whether string is in printable format. This would be useful when we parse unformatted csv file.
Script:
def check(myStr):
return filter(lambda x: x in string.printable, myStr)
0 Comments:
Subscribe to:
Post Comments (Atom)