Questions tagged as 'python-requests'

0
answers

API query put - Status code 500

Next I put a fragment of the code with which I was working (I am a newbie) and I have a query. I get the token correctly but when I want to use the API "save response", it tells me error 500 and apparently, as I understand it, it is an error in...
asked by 29.10.2018 / 23:17
0
answers

'int' object has no attribute '_getints'

Good evening, I'm new to programming, I'm trying to do the following thing, to do a gif in a new window, but I skip the following error. 'int' object has no attribute '_getints' def Animacion(): win=Toplevel win.minsize(900,300) im...
asked by 05.11.2018 / 04:09
1
answer

help with web service in python

I have this web service, which should then give me a graph the code is all right and it gives me a graph without data, how do I enter the data and that I graph that data? I'm working on this code in colaboratory. #importar graficador import ma...
asked by 21.10.2018 / 23:38
0
answers

UnicodeEncodeError: 'charmap' codec can not encode character u '\ u2019'

my code is this and when I search for the band diiv I get this error I understand that it is the closing character of simple quotes but I do not know how to solve it. File "C:\Python27\lib\encodings\cp850.py", line 12, in encode ret...
asked by 07.09.2018 / 05:24
0
answers

graph = Graph (g) NameError: name 'Graph' is not defined. HOW DO I RESOLVE IT?

introducir el código#TAD DE DIJKSTRA, algoritmo de caminos mínimos. #es un algoritmo para la determinación del camino más corto. #dado un vértice origen. #hacia el resto de los vértices en un grafo que tiene pesos en cada arista. ############...
asked by 28.06.2018 / 17:11
1
answer

Python HTTPConnectionPool Failed to establish a new connection: [Errno 11004] getaddrinfo failed

I was trying to follow a scraping tutorial on grupoothis , and I The following error arises after a couple of queries. The error in question Traceback (most recent call last): File "C:\Users\Sebastián\AppData\Local\Programs\Python...
asked by 17.06.2018 / 22:30
0
answers

How can I get the Facebook ID of someone with Python?

I am developing a small python code and I need to know how I can automate the process of going from the URL of a Facebook profile to your ID. For example, Sony's Facebook is " link " but the ID is "56232316996" ( link ) (via findmyfbid.com)....
asked by 22.01.2018 / 23:44
1
answer

ChunkedEncodingError with requests python

I am trying to connect to an API to receive data that I will use in my app. I use Django 1.9 next to Python 2.7 and I have the project mounted locally with the Apache server, using the < strong> mod_wsgi . To make requests to the AP...
asked by 30.05.2017 / 11:51