Python Forum
Python Script to Produce Difference Between Files and Resolve DNS Query for the Outpu
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python Script to Produce Difference Between Files and Resolve DNS Query for the Outpu
#3
(May-22-2019, 03:42 AM)heiner55 Wrote: Read file1 into memory and sort the lines.
Read file2 into memory and sort the lines.
Compare line by line.

actually loading each file into set and using set operations would be simpler
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
RE: Python Script to Produce Difference Between Files and Resolve DNS Query for the Outpu - by buran - May-22-2019, 07:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Produce One file Per PurchaseOrder jland47 1 333 Jan-26-2024, 11:38 AM
Last Post: Larz60+
  Is there a *.bat DOS batch script to *.py Python Script converter? pstein 3 3,199 Jun-29-2023, 11:57 AM
Last Post: gologica
Question Need help for a python script to extract information from a list of files lephunghien 6 1,078 Jun-12-2023, 05:40 PM
Last Post: snippsat
  script to calculate data in csv-files ledgreve 0 1,096 May-19-2023, 07:24 AM
Last Post: ledgreve
  [split] How to resolve version conflicts in Python? atonalwilson 1 990 May-04-2023, 09:02 AM
Last Post: buran
  How to resolve version conflicts in Python? taeefnajib 0 908 Apr-27-2023, 08:37 PM
Last Post: taeefnajib
  list the files using query in python arjunaram 0 670 Mar-28-2023, 02:39 PM
Last Post: arjunaram
  python sql query single quote in a string mg24 1 1,054 Nov-18-2022, 08:01 PM
Last Post: deanhystad
  "SUMIF" type query in Python (help required) BlainEillimatta 0 851 Oct-06-2022, 09:08 AM
Last Post: BlainEillimatta
  How to resolve my problem in Pycharm? bshoushtarian 0 848 Sep-26-2022, 11:45 AM
Last Post: bshoushtarian

Forum Jump:

User Panel Messages

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