MOHAN KRISHNA

0 %
Mohan Krishna
Multimedia Professional
Ai & ML Researcher & Enthusiast
  • Residence:
    India
  • City:
    Vijayawada
  • Age:
    46
AI/ML Enthusiast. New Media Trainer, VFX Artist, Non Linear Video Editor, Graphic Designer, Sound Editor and iOS App Designer.
Telugu
English
Hindi
Tamil
Proficiency:
Graphic Design
Web Design
Video & VFX
Machine Learning
Artificial Intelligence
Digital Marketing
Areas of Interest:
Take a look at some of the things I love working on.
  • Non Linear Video Editing
  • Graphic Design
  • Web Design
  • Audio Editing
  • Content Management Systems
  • Python
  • Deep Learning
  • OpenCV
  • Image Classification

File Comparison

September 26, 2022
with open('1.txt', 'r') as file1:
    with open('2.txt', 'r') as file2:
        same = set(file1).intersection(file2)
# http://www.pillalamarri.in/python/file-comparison/
same.discard('\n')

with open('soutput.txt', 'w') as file_out:
    for line in same:
        file_out.write(line)
Posted in PythonTags: