Source Code for Me (s-c.me)

Allows you to paste souce code to blogs! Adapted for Twitter! Here is Search Form in case you missed your code.
Tags: Python, Created At: 10/24/2016 7:52:24 PMViews:

HTML view:
Copy Source | Copy HTML
  1. account=['yandex_login', 'yandex_password'] #ваши Ð»Ð¾Ð³Ð¸Ð½ Ð¸ Ð¿Ð°Ñ€Ð¾Ð»ÑŒ Ð¾Ñ‚ Ð°ÐºÐºÐ°ÑƒÐ½Ñ‚а Ð¯Ð½Ð´ÐµÐºÑÐ°
  2. params = urllib.urlencode({'login':account[ 0], 'passwd':account[1], 'twoweeks':'yes', 'retpath':'http://webmaster.yandex.ru'})
  3. req = urllib2.Request('http://pda-passport.yandex.ru/passport?mode=mauth', params, headers)
  4. opener.open(req)

Based on Manoli.Net's CodeFormatter. Made by Topbot (c) 2008-2017