This file contains 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 xml.etree.ElementTree as ET | |
import json | |
tree = ET.parse("ucd.all.flat.xml") | |
root = tree.getroot() | |
repertoire = root[1] | |
finaldict = {} | |
for c in repertoire: | |
attr = c.attrib | |
codepoint = attr.get("cp") |
This file contains 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 time | |
import traceback | |
import requests | |
req_url = "https://chunithm.sega.jp/storage/json/music.json" | |
img_baseurl = "https://new.chunithm-net.com/chuni-mobile/html/mobile/img/" |
This file contains 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
# Copyright 2021 Kjuman Enobikto | |
# Version: 3.8以上 | |
# FFmpegのパスが通っている必要があります | |
# 配布: https://qmainconts.f5.si/index.html#wav2flac | |
import glob | |
import os | |
import subprocess | |
import sys |
This file contains 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 glob | |
import os | |
import random | |
import time | |
import subprocess | |
import difflib | |
import mutagen | |
import vlc |
This file contains 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 glob | |
import os | |
import random | |
import time | |
import subprocess | |
import vlc | |
# コマンド定義 | |
CMDPREF = "_" |
This file contains 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
# VLC media playerをインストールした後、pip install python-vlcしてください。 | |
import glob | |
import os | |
import random | |
import time | |
import vlc | |
player = vlc.MediaPlayer() |
This file contains 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
# cfg2env Python Edition | |
# Require Python 3.7 or above | |
import os | |
import re | |
import sys | |
def main(): | |
arg = sys.argv + [""] | |
if arg[1] == "": |
This file contains 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
# 入力部 | |
print("縦の高さを入力してね") | |
height = int(input()) | |
print("開いていないブロックをb、地雷と確定しているブロックをm、開いているマスをx、数字はそのまま、スペースを空けないで入力してね") | |
print("終わったら改行してね") | |
stage = [] | |
for loop in range(height): | |
stage.append(list(input())) | |
# ステージ生成部 |