Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
Удаленная работа для IT-специалистов
i = 0 while i < ids:
for item in result['response']: print item['src']
expr3, expr4 = expr1, expr2
Content-Type:text/html; charset=UTF-8
Python will allow forward-slash paths on Windows, and os.path.expanduser works on Windows also, so you can get a user-specific file path using:
config_file = os.path.expanduser("~/foo.ini")
Python 2.7.10 (default, May 28 2015, 21:40:30) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> 1 % 2 1