pygrep. ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://developer.mozilla.org/
pygrep. ű×
pygrep. ¼³¸í
PygrepÀº µð·ºÅ丮 ¼¼Æ®¿¡¼ Python ½Äº°ÀÚ¸¦ ãÀ» Python ¸ðµâÀÔ´Ï´Ù. ÀϺΠÆÄÀ̽ã Äڵ带 ¸®ÆÑÅ丵ÇÏ°í Äڵ尡ÀÖ´Â À§Ä¡¸¦ ãÀ¸·Á°í ³ë·Â Çß½À´Ï±î? -name \ *. py | xargs grep foo.baris kinda ity, ist´Â °¡Á® ¿À±â, ÁÖ¼® ¹× whatnot.meet pygrepÀ» ãÀ» ¼ö ÀÖ½À´Ï´Ù. ÄÚµå, pygrep foo.bar ÀϺΠ/ dir other / stuff.pythat°¡ ´ç½Å¿¡°Ô º¸¿©ÁÙ °ÍÀÔ´Ï´Ù. Ãâ·Â LikeFile.py (class.fooction) : lineno foo.bar.full.identiferin file.py, class class.supportedat Ŭ·¡½ºÀÇ ¸Þ¼Òµå ÇÔ¼ö¿¡ foo.bar.full.identifier¿¡ ´ëÇÑ ÂüÁ¶°¡ ÀÖ½À´Ï´Ù.ÀÌ Á¡, pygrep resolvesfrom foo °¡Á® ¿À±â barandfrom foo import barÀÌ python ÆÄÀÏ foo.pyfrom mymod.bar °¡Á® ¿À±â mymod.bar °¡Á® ¿À±â Aclass a : def m (self) : b = a.mod.method () ¸ðµç ´ÙÀ½ commandspygrep mymod foo.pypygrep mymod.bar foo.pypygrep mymod .bar.mod foo.pypygrep mymod.bar.mod.method foo.pywill returnfoo.py (am) : 4 mymod.bar.mod.methodproductÀÇ È¨ÆäÀÌÁö
pygrep. °ü·Ã ¼ÒÇÁÆ®¿þ¾î