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
| # -*- coding: utf-8 -*- | |
| import os | |
| import json | |
| import time | |
| from aqt.qt import * | |
| from aqt import gui_hooks | |
| from aqt import mw | |
| # Caminho para salvar as configurações |
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
| # -*- coding: utf-8 -*- | |
| import json | |
| import os | |
| import re | |
| import csv | |
| import webbrowser | |
| import aqt # Importante para abrir o Browser | |
| from aqt import mw, gui_hooks | |
| from aqt.qt import * |
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 sys | |
| import tkinter as tk | |
| from tkinter import filedialog | |
| # Tenta importar da maneira antiga (v1) ou nova (v2) para garantir que funcione | |
| try: | |
| from moviepy.editor import VideoFileClip | |
| except ImportError: | |
| try: |
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
| from aqt import mw | |
| from anki.hooks import wrap | |
| from aqt.browser import SidebarItem, SidebarItemType | |
| from aqt.gui_hooks import browser_sidebar_will_show_context_menu | |
| def get_sort_reverse(): | |
| if not mw.col: | |
| return False | |
| return mw.col.conf.get('tag_sort_reverse', False) |
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 json | |
| from aqt import mw | |
| from aqt.qt import * | |
| from aqt.gui_hooks import state_did_change, reviewer_did_show_question | |
| config_file = os.path.join(os.path.dirname(__file__), "config.json") | |
| config = {"hidden": False} | |
| def load_config(): |
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
| # -*- coding: utf-8 -*- | |
| import json | |
| import os | |
| import re | |
| import csv | |
| import webbrowser # Novo import para abrir o navegador | |
| from aqt import mw, gui_hooks | |
| from aqt.qt import * | |
| from aqt.editor import Editor |
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 fitz # PyMuPDF | |
| import os | |
| import tkinter as tk | |
| from tkinter import messagebox | |
| from PIL import Image, ImageTk | |
| from tqdm import tqdm | |
| import numpy as np | |
| PDF_PATH = "kanji_poster.pdf" | |
| OUTPUT_FOLDER = "kanji_images" |
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 sys | |
| import os | |
| import uuid | |
| import tempfile | |
| import threading | |
| import json | |
| import time | |
| import re | |
| import base64 | |
| import mimetypes |
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 sys | |
| import os | |
| import uuid | |
| import tempfile | |
| import threading | |
| import json | |
| import time | |
| import re | |
| import base64 | |
| import mimetypes |
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
| #agente servidor.pyw | |
| # agente.py (Versão Final com Notificação Customizada e 100% Confiável) | |
| import socket | |
| import subprocess | |
| import sys | |
| import os | |
| import threading | |
| import queue | |
| import time |
NewerOlder