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 pandas as pd | |
| # Диапазоны | |
| X_vals = [x for x in range(-3, 4)] # задание массива | |
| Y_vals = [y * 1.5 for y in range(0, 7)] | |
| # Таблица | |
| rows = [] # задание массива | |
| for x, y in zip(X_vals, Y_vals): | |
| A = abs(x) <= 1 # условие |
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 os | |
| import moviepy.editor as mp | |
| from pydub import AudioSegment | |
| from vosk import Model, KaldiRecognizer | |
| import wave | |
| name_of_file = input('название файла: ') | |
| files = f'{name_of_file}.txt' | |
| video = name_of_file |