移动工具位置
17
tools/decode_format.py
Normal file
@ -0,0 +1,17 @@
|
||||
import re
|
||||
|
||||
|
||||
def decode_format(value):
|
||||
match = re.match(r'(\d+):(\d)', value)
|
||||
if match:
|
||||
minute = int(match.group(1))
|
||||
second = int(match.group(2))
|
||||
time = minute * 60 + second
|
||||
return time
|
||||
else:
|
||||
return None
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
value = input("输入转换的时间戳:")
|
||||
print(decode_format(value))
|
BIN
tools/turn_images/delete.png
Normal file
After Width: | Height: | Size: 184 B |
1
tools/turn_images/delete.png.txt
Normal file
@ -0,0 +1 @@
|
||||
b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xffa\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x04gAMA\x00\x00\xb1\x8f\x0b\xfca\x05\x00\x00\x00\tpHYs\x00\x00\x0e\xc3\x00\x00\x0e\xc3\x01\xc7o\xa8d\x00\x00\x00MIDAT8Oc\x18p\xc0\x08\xa51\xc0\xce\xaa\xb0\xffP&\x18\xb8\xb7\xad\xc2\xaa\x16.\x88\xae\x81\x10\xc0j 1\x86\xa0\xaba\x82\xd2\x18\x00Y!>\x83q\x1a@,\x185\x80\n\x06\xa0\x00r\xd2\x01Jj"\xc6\x00\x10\xc0\x95\xac\x07\x0200\x00\x00\x02\x0e\x1bB\n\xf0\xe0\x01\x00\x00\x00\x00IEND\xaeB`\x82'
|
BIN
tools/turn_images/former.png
Normal file
After Width: | Height: | Size: 209 B |
1
tools/turn_images/former.png.txt
Normal file
@ -0,0 +1 @@
|
||||
b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xffa\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x04gAMA\x00\x00\xb1\x8f\x0b\xfca\x05\x00\x00\x00\tpHYs\x00\x00\x0e\xc3\x00\x00\x0e\xc3\x01\xc7o\xa8d\x00\x00\x00fIDAT8Oc\xa0:\xe0\xbb\xe8\xfa\x1f\xca\xc4\x00\xd8\xe4\x98\xa04A\x80\xcb`\xa2\x0c\xc0\xe7*\x82\x06\xe0\xd3\x0c\x02x\r \xa4\x19\x04p\x1a@\x8cf\x10\xc0j\x00\xb1\x9aA\x80\xa8@\xc4\x07\xb0\x1a\xf0I\x7f7#\x94I\x10\xe0t\x01\xb1\x86\xe0\xf5\x021\x86\x10\x0c\x03B\x86\x10\x15\x88\xf8\x0c!\xca\x00\x10 %`I\x00\x0c\x0c\x00\x1f?\x1caM\xfe\x9b\xec\x00\x00\x00\x00IEND\xaeB`\x82'
|
BIN
tools/turn_images/latter.png
Normal file
After Width: | Height: | Size: 207 B |
1
tools/turn_images/latter.png.txt
Normal file
@ -0,0 +1 @@
|
||||
b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xffa\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x04gAMA\x00\x00\xb1\x8f\x0b\xfca\x05\x00\x00\x00\tpHYs\x00\x00\x0e\xc3\x00\x00\x0e\xc3\x01\xc7o\xa8d\x00\x00\x00dIDAT8O\xad\xcc\xc1\r\x800\x0cC\xd1\xc0\x00\xac\xc2\x14L\xcd\x14\xac\xc2\x02 K\xb9\x14b\xc7\x87\xfeK#U~1\xbd\xed:\x9e<\x7fU\x7fk\xbeC\n\xf9V\x02\xc8E(\x80\x1cD\x02\xa8CZ\x00)\xc4\x02\x10Cl\x80e\x03\xf7~.y\x0eY\x00\x1b\xa3\x16Pc$\x81n\x8c(\xe0\x8cQ\t\xb8\xe3\tE\xbc\x1f?\x1ca\x00\x1c\xaf\x18\x00\x00\x00\x00IEND\xaeB`\x82'
|
BIN
tools/turn_images/loading.gif
Normal file
After Width: | Height: | Size: 8.6 KiB |
1
tools/turn_images/loading.gif.txt
Normal file
BIN
tools/turn_images/pausesound.png
Normal file
After Width: | Height: | Size: 151 B |
1
tools/turn_images/pausesound.png.txt
Normal file
@ -0,0 +1 @@
|
||||
b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xffa\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x04gAMA\x00\x00\xb1\x8f\x0b\xfca\x05\x00\x00\x00\tpHYs\x00\x00\x0e\xc3\x00\x00\x0e\xc3\x01\xc7o\xa8d\x00\x00\x00,IDAT8Oc\xa0\x140Bi0\xe0\xbb\xe8\xfa\x1f\xcad\xf8\xa4\xbf\x9b(9&(M6\x185`\xd4\x00\x10\x185\x80b\xc0\xc0\x00\x00\xa5\xaa\x08\x1cY"\\y\x00\x00\x00\x00IEND\xaeB`\x82'
|
BIN
tools/turn_images/playingmode_sequential.png
Normal file
After Width: | Height: | Size: 155 B |
1
tools/turn_images/playingmode_sequential.png.txt
Normal file
@ -0,0 +1 @@
|
||||
b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xffa\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x04gAMA\x00\x00\xb1\x8f\x0b\xfca\x05\x00\x00\x00\tpHYs\x00\x00\x0e\xc3\x00\x00\x0e\xc3\x01\xc7o\xa8d\x00\x00\x000IDAT8Oc\x18A\xc0\xde\xe3\xcc\x7f(\x93|\x80\xcd\x10F(\r\x06\xc4\xdarp\x87\t\x8a\xbe\x91\x0e\xe8\x1b\x88\x14\xa5\x05\xaa$\xa4\xc1\x08\x18\x18\x00\xb9W\x11K\x9cO\x82\xaa\x00\x00\x00\x00IEND\xaeB`\x82'
|
BIN
tools/turn_images/playsound.png
Normal file
After Width: | Height: | Size: 207 B |
1
tools/turn_images/playsound.png.txt
Normal file
@ -0,0 +1 @@
|
||||
b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xffa\x00\x00\x00\x01sRGB\x00\xae\xce\x1c\xe9\x00\x00\x00\x04gAMA\x00\x00\xb1\x8f\x0b\xfca\x05\x00\x00\x00\tpHYs\x00\x00\x0e\xc3\x00\x00\x0e\xc3\x01\xc7o\xa8d\x00\x00\x00dIDAT8O\xb5\xd2\xb1\r\x800\x0cDQ\x87\x01X\x85)25S\xb0\n\x0b\x80N\xb2\xd2\xc4\xf6]$\xf8M\xdc\xdc\xabb\xbf\xb4_\xfd\xf1\x93\xb6\xf9;\xa5")\x80\x14\xa4\x04\x10C(\x80*D\x02P\x86\xc8\x00\x8a\x90% j\t\xb8\x8f\xb3\xf99\x92\x81h\x8c$ \x1b#\nTcT\x02l\x9c\xa6|\xe1\x8f2{\x01\x18\xfb\x1a\x82\xf8+\xb1(\x00\x00\x00\x00IEND\xaeB`\x82'
|
6
tools/turn_images/turn_image.py
Normal file
@ -0,0 +1,6 @@
|
||||
while True:
|
||||
filename = input('File Name:')
|
||||
with open(filename, 'rb') as f:
|
||||
file_turn = f.read()
|
||||
with open(filename+'.txt', 'w') as f:
|
||||
f.write(str(file_turn))
|