Linux 下的grep 指令可以搜尋檔案或Pipe 輸入的內容,以下是在Python 要實現grep 基本搜尋功能的寫法: #!/usr/bin/python sub_str = 'admin' ...
確定! 回上一頁