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"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Dynamic Iframes</title> | |
| <style> | |
| body { | |
| margin: 0; |
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
| import itertools | |
| from datetime import datetime, timedelta | |
| from typing import List, Dict | |
| from rich.console import Console | |
| from rich.panel import Panel | |
| from rich.progress import track | |
| from rich.prompt import Prompt | |
| from rich.style import Style | |
| from rich.text import Text |
Если вы этого ещё не сделали, то это сильно упростит вашу жизнь и даст кучу плюшек
- Получить почту niuitmo.ru
это все уже сделали(в ИСУ -> Личный кабинет -> Настройки -> Microsoft Office 365)
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
| class DSU: | |
| def __init__(self, n): | |
| self._p = list(range(n)) | |
| self._sz = [1]*n | |
| def get(self, i): | |
| if self._p[i] == i: | |
| return i | |
| else: | |
| self._p[i] = self.get(self._p[i]) |
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
| class Server(object): | |
| def __init__(self, hostname, port): | |
| self.logger = logging.getLogger("server") | |
| init_logger(self.logger) | |
| self.hostname = hostname | |
| self.port = port | |
| def start(self): | |
| self.logger.debug("listening") | |
| self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) |
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
| import requests | |
| import re | |
| from tqdm import tqdm | |
| from multiprocessing import Pool | |
| import json | |
| import time | |
| s = None | |
| rex = re.compile(r"Задание (\d+) № ") | |
| r = range(12045105, 12140290) |
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
| [ | |
| { | |
| "paralell":"A0", | |
| "name":"Sergey Pospelov", | |
| "school":"Perm, 9, 10 класс" | |
| }, | |
| { | |
| "paralell":"A0", | |
| "name":"Максим Гапонов", | |
| "school":"Мытищи, МБОУ СОШ 6, 10 класс" |