Python Forum
Search string in mutliple .gz files
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Search string in mutliple .gz files
#10
As DeaD_EyE said above, to increase portability and to reduce dependencies. Python has a built-in gzip library, and a grep-like behavior can be obtained with re.search() . It means that a similar functionality can be obtained from the standard library. Of course someone has to make the effort (sorry I don't currently have time to do that).
Reply


Messages In This Thread
Search string in mutliple .gz files - by SARAOOF - Aug-18-2021, 11:07 AM
RE: Search string in mutliple .gz files - by Gribouillis - Aug-25-2021, 06:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Writing a Linear Search algorithm - malformed string representation Drone4four 10 1,030 Jan-10-2024, 08:39 AM
Last Post: gulshan212
  splitting file into multiple files by searching for string AlphaInc 2 926 Jul-01-2023, 10:35 PM
Last Post: Pedroski55
  Search multiple CSV files for a string or strings cubangt 7 8,144 Feb-23-2022, 12:53 AM
Last Post: Pedroski55
  Replace String in multiple text-files [SOLVED] AlphaInc 5 8,222 Aug-08-2021, 04:59 PM
Last Post: Axel_Erfurt
  fuzzywuzzy search string in text file marfer 9 4,672 Aug-03-2021, 02:41 AM
Last Post: deanhystad
  how search files Ron_Crafter 4 51,785 Apr-17-2021, 11:19 AM
Last Post: Ron_Crafter
  I want to search a variable for a string D90 lostbit 3 2,663 Mar-31-2021, 07:14 PM
Last Post: lostbit
  Merging all file_name.log's files from directory to one and search “PerformanceINFO" sutra 0 1,807 Dec-09-2020, 05:14 PM
Last Post: sutra
  String search in different excel Kristenl2784 0 1,717 Jul-20-2020, 02:37 PM
Last Post: Kristenl2784
  Complex word search multiple files Kristenl2784 0 1,602 Jul-18-2020, 01:22 PM
Last Post: Kristenl2784

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020