def upperCamelize(text: str):
lines = []
for l in text.split("\n"):
words = []
for w in l.split(" "):
w = "".join([i.title() for i in w.split("_")])
words.append(w)
lines.append(" ".join(words))
return "\n".join(lines)
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
@echo off | |
cd c:\android-backup-extractor | |
rem パッケージ指定 | |
:input_check | |
set pacname= | |
set /P pacname="抽出するアプリのパッケージ名を入力:" | |
if %pacname% =="" goto :input_check |
from PIL import Image, ImageDraw, ImageFont
def drawText(bg, text: str, spacing: int, font, origin, color):
img_clear = Image.new("RGBA", bg.size, (255, 255, 255, 0))
draw = ImageDraw.Draw(img_clear)
origin_x, origin_y = origin
pads = []
for i in text:
import re
def unexponential(text: str):
pe = r'((\d+\.\d+|\d+)e(\+|\-)[1-9]+\d*)'
found = re.findall(pe, text)
for i in found:
base = i[0]
fvalue = str(float(base))
if "+" in i: fvalue = fvalue[0:-2]
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 json | |
import os | |
import re | |
import requests | |
from PIL import Image | |
import asyncio | |
from io import BytesIO | |
lang = "en-us" | |
dir = "SR" |
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 json | |
import os | |
import requests | |
from PIL import Image | |
import asyncio | |
from io import BytesIO | |
lang = "en-us" | |
dir = "GI" |