Blogger Template by Blogcrowds.

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:

Post a Comment



Newer Post Older Post Home