1234567891011121314151617181920 |
- #! /usr/bin/env python
-
- class TorrentEntry:
- name = ""
- size = 0
- def __init__(self, name, size):
- self.name = str(name)
- self.size = int(size)
-
- def __str__(self):
- return self.name + " " + str(self.size)
-
- def __repr__(self):
- return self.__str__()
-
- def getName(self):
- return self.name
-
- def getSize(self):
- return self.size
|