A
A
Alexey Samoilov2015-03-24 10:11:20
Python
Alexey Samoilov, 2015-03-24 10:11:20

Has anyone used vk api or specifically vk python library in google app engine?

I'm trying to work with the Python vk library. Everything works on a working machine. In GAE, it starts to swear at the Requests library. Accordingly, I brought requests and vk into the lib GAE folder in accordance with the instructions.
Can anyone come across? Or worked with VKontakte api through GAE by other means.
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey K, 2015-03-24
@tibhar940

Usually urllib2 is enough.

A
Alexander Pinkevich, 2015-03-24
@pinkevich

When working with Django, you can add a folder for "left" libs (for example, libs) to the root of the project, add the requests package to it, and add to manage.py:

import os
os.sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'libs'))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question