News for hackers. Stuff that matters.
Re:Python command line oneliners by e12e on Wednesday February 20, 2013 @10:57AM (#5251118)
If you're not storing that somewhere, but rather typing it, I find you're often better off by being a little more forgiving, eg:

  $ grep -r "if __name__ == .__main__." /path/to/lib
or even: $ grep -Er 'if\W__name__\W==\W.__main__.'

There are no comments on this comment yet.