Моя простая функция Price_list (), именно здесь мой код ломается.
Код: Выделить всё
def price_list(self):
response = requests.get("https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonEC2/current/index.json")
pricing = response.json()
print(pricing)
Код: Выделить всё
self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
MemoryError
P.S. Я использую Python 3.
Подробнее здесь: https://stackoverflow.com/questions/608 ... t-api-call