- class Add def_init(self num1 num2 self.num1 = num1 self.num2 = num2 print(self.num1,self.num2 def_add(self other number1 = self.num1 self.num2 - class Add def_init(self num1 num2 self.num1 =...

This preview shows page 1 - 2 out of 2 pages.

# class Add: # def __init__(self, num1, num2): # self.num1 = num1 # self.num2 = num2 # print(self.num1,self.num2) # def __add__(self, other): # number1 = self.num1 + self.num2 # number2 = other.num1 + other.num2 # ojb3 = Add(number1,number2) # return ojb3 # def __repr__(self): # return '{} {}'.format(self.num1,self.num2) # def __eq__(self,other): # if self.num1 == other.num1 and self.num2==other.num2: # return True # else: # return False # obj = Add(12, 34) # obj1 = Add(12, 34) # result = obj + obj1 # print(result) # if obj == obj1: # print("They Are Equal") # else: # print("They Are Not Equal") import os import shutil import random dict_extensions = { 'audio_extensions': ('.mp3', '.m4a', '.wav', '.flac'), 'vidio_extensions': ('.mp4', '.mkv' '.MKV', '.flv', '.mpeg'), 'document_extensions': ('.doc', '.pdf', '.txt', '.html', '.png', '.css', '.jpg'), } folder_location = input("Enter your folder location") copy_or_move = input("You want to copy or move your files") copy_or_move_lower = copy_or_move.lower() copy = False move = False if copy_or_move_lower == 'copy':
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read both pages?

  • Fall '18
  • #, len, Advanced Audio Coding

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes