This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def decode_escaped_cp866(s): | |
out = [] | |
for token in re.finditer(r"%([0-9A-F]{2})|(.)", s): | |
if token.group(1) is not None: | |
out.append(bytes([int(token.group(1), 16)])) | |
elif token.group(2) is not None: | |
out.append(token.group(2).encode('utf-8')) | |
return b"".join(out).decode('cp866') | |
print(decode_escaped_cp866("%8C%A0%E0%A8%EF - %84%87")) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello, World</title> | |
</head> | |
<body> | |
<p>Hello, <span id="username"></span></p> | |
<script> | |
var user = JSON.parse('{{ user | tojson | safe}}'); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
municipal_district | voting_district | polling_station | |
---|---|---|---|
Академический | 3 | 2118 | |
Академический | 1 | 2119 | |
Академический | 1 | 2120 | |
Академический | 1 | 2121 | |
Академический | 1 | 2122 | |
Академический | 1 | 2123 | |
Академический | 1 | 2124 | |
Академический | 1 | 2125 | |
Академический | 2 | 2126 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\meta | |
\title Производные и градиенты | |
\author Илья Щуров | |
\affiliation НИУ ВШЭ | |
\project | |
Машинное обучение для факультета экономики, 2017-18 учебный год | |
\url http://wiki.cs.hse.ru/Машинное_обучение_(факультет_экономических_наук) | |
\lang ru | |
В машинном обучении часто приходится находить производные и градиенты от |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.