# -*- coding: utf-8 -*-
import datetime


class FileMerge:
  def __init__(self, path1):
    self.path1 = path1
    self.start = datetime.datetime.now()

  def __enter__(self):
    with open(self.path1) as file:
      list1 = file.readlines()
    return list1


  def __exit__(self, exc_type, exc_val, exc_tb ):
    self.end = datetime.datetime.now()
    print(self.end - self.start)

with FileMerge("HW8.txt") as sorted_list:
  print(sorted_list)

e5f2147813409e69a8952339a427d9c54a578d1d
<mask token>


class FileMerge:

    def __init__(self, path1):
        self.path1 = path1
        self.start = datetime.datetime.now()
    <mask token>

    def __exit__(self, exc_type, exc_val, exc_tb):
        self.end = datetime.datetime.now()
        print(self.end - self.start)


<mask token>

<mask token>


class FileMerge:

    def __init__(self, path1):
        self.path1 = path1
        self.start = datetime.datetime.now()

    def __enter__(self):
        with open(self.path1) as file:
            list1 = file.readlines()
        return list1

    def __exit__(self, exc_type, exc_val, exc_tb):
        self.end = datetime.datetime.now()
        print(self.end - self.start)


<mask token>

<mask token>


class FileMerge:

    def __init__(self, path1):
        self.path1 = path1
        self.start = datetime.datetime.now()

    def __enter__(self):
        with open(self.path1) as file:
            list1 = file.readlines()
        return list1

    def __exit__(self, exc_type, exc_val, exc_tb):
        self.end = datetime.datetime.now()
        print(self.end - self.start)


with FileMerge('HW8.txt') as sorted_list:
    print(sorted_list)

import datetime


class FileMerge:

    def __init__(self, path1):
        self.path1 = path1
        self.start = datetime.datetime.now()

    def __enter__(self):
        with open(self.path1) as file:
            list1 = file.readlines()
        return list1

    def __exit__(self, exc_type, exc_val, exc_tb):
        self.end = datetime.datetime.now()
        print(self.end - self.start)


with FileMerge('HW8.txt') as sorted_list:
    print(sorted_list)

# -*- coding: utf-8 -*-
import datetime


class FileMerge:
  def __init__(self, path1):
    self.path1 = path1
    self.start = datetime.datetime.now()

  def __enter__(self):
    with open(self.path1) as file:
      list1 = file.readlines()
    return list1


  def __exit__(self, exc_type, exc_val, exc_tb ):
    self.end = datetime.datetime.now()
    print(self.end - self.start)

with FileMerge("HW8.txt") as sorted_list:
  print(sorted_list)
