Method could be a function
88 os.system(dec)
89 return self.tempdir
90
91 def unique(self, list): 92 x = numpy.array(list)
93 return (numpy.unique(x))
94
Method could be a function
38 zfile.extractall(self.main_dir + "/../jadx")
39 os.chmod(self.jadx, 33268)
40
41 def write(self, message, color): 42 sys.stdout.write("%s%s%s" % (color, message, clr.ENDC))
43
44 def writeln(self, message, color):
Description
The method doesn't use its bound instance. Decorate this method with @staticmethod
decorator, so that Python does not have to instantiate a bound method for every instance of this class thereby saving memory and computation. Read more about staticmethods here.