-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c685195
commit 5b2c728
Showing
13 changed files
with
2,230 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
668 changes: 668 additions & 0 deletions
668
com.wayne931121.inna.music/music_metadata_editor/Eyed3.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
133 changes: 133 additions & 0 deletions
133
com.wayne931121.inna.music/music_metadata_editor/Kivy.ipynb
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "4c8d0680", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"# 參考網站\n", | ||
"# https://www.geeksforgeeks.org/kivy-tutorial/#layouts\n", | ||
"# https://kivy.org/doc/stable/api-kivy.metrics.html" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "a273feb7", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"bytes(\"\\n\", encoding=\"utf-8\")" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 3, | ||
"id": "2c2a477d", | ||
"metadata": { | ||
"scrolled": false | ||
}, | ||
"outputs": [ | ||
{ | ||
"name": "stderr", | ||
"output_type": "stream", | ||
"text": [ | ||
"[INFO ] [Logger ] Record log in C:\\Users\\sky66\\.kivy\\logs\\kivy_22-07-05_78.txt\n", | ||
"[INFO ] [deps ] Successfully imported \"kivy_deps.angle\" 0.3.2\n", | ||
"[INFO ] [deps ] Successfully imported \"kivy_deps.glew\" 0.3.1\n", | ||
"[INFO ] [deps ] Successfully imported \"kivy_deps.sdl2\" 0.4.5\n", | ||
"[INFO ] [Kivy ] v2.1.0\n", | ||
"[INFO ] [Kivy ] Installed at \"C:\\Users\\sky66\\anaconda3\\envs\\tensorflow\\lib\\site-packages\\kivy\\__init__.py\"\n", | ||
"[INFO ] [Python ] v3.9.12 (main, Apr 4 2022, 05:22:27) [MSC v.1916 64 bit (AMD64)]\n", | ||
"[INFO ] [Python ] Interpreter at \"C:\\Users\\sky66\\anaconda3\\envs\\tensorflow\\python.exe\"\n", | ||
"[INFO ] [Logger ] Purge log fired. Processing...\n", | ||
"[INFO ] [Logger ] Purge finished!\n", | ||
"[INFO ] [Factory ] 189 symbols loaded\n", | ||
"[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)\n", | ||
"[INFO ] [Window ] Provider: sdl2\n", | ||
"[INFO ] [GL ] Using the \"OpenGL\" graphics system\n", | ||
"[INFO ] [GL ] GLEW initialization succeeded\n", | ||
"[INFO ] [GL ] Backend used <glew>\n", | ||
"[INFO ] [GL ] OpenGL version <b'4.6.0 NVIDIA 472.98'>\n", | ||
"[INFO ] [GL ] OpenGL vendor <b'NVIDIA Corporation'>\n", | ||
"[INFO ] [GL ] OpenGL renderer <b'NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2'>\n", | ||
"[INFO ] [GL ] OpenGL parsed version: 4, 6\n", | ||
"[INFO ] [GL ] Shading version <b'4.60 NVIDIA'>\n", | ||
"[INFO ] [GL ] Texture max size <32768>\n", | ||
"[INFO ] [GL ] Texture max units <32>\n", | ||
"[INFO ] [Window ] auto add sdl2 input provider\n", | ||
"[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked\n", | ||
"[INFO ] [Clipboard ] Provider: winctypes\n", | ||
"[INFO ] [Text ] Provider: sdl2\n", | ||
"[INFO ] [GL ] NPOT texture support is available\n", | ||
"[INFO ] [Base ] Start application main loop\n", | ||
"[INFO ] [GL ] Unpack subimage support is available\n", | ||
"[INFO ] [Base ] Leaving application in progress...\n" | ||
] | ||
} | ||
], | ||
"source": [ | ||
"!python main.py" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "34d16639", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"!python test.py" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "93ad00fe", | ||
"metadata": { | ||
"scrolled": false | ||
}, | ||
"outputs": [], | ||
"source": [ | ||
"# 增加縮排\n", | ||
"with open(\"assets/App.kv\", \"r\", encoding=\"utf8\") as f:\n", | ||
" print(\"\\n \".join(f.read().split(\"\\n\")))" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "4461ebed", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"# 減少縮排\n", | ||
"with open(\"assets/App.kv\", \"r\", encoding=\"utf8\") as f:\n", | ||
" print(\"\\n\".join([e[4:] for e in f.read().split(\"\\n\")]))" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 3 (ipykernel)", | ||
"language": "python", | ||
"name": "python3" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.9.12" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 5 | ||
} |
Oops, something went wrong.