找到資源所在的目錄:python
c:\users\{username}\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets
拷貝到code
c:\Assets
python圖片
import shutil, glob, imghdr [shutil.move(k, k + '.' + imghdr.what(k)) for k in glob.glob('c:/Assets/*') if imghdr.what(k)]
我痛恨我本身,明明有一堆事,恰恰要去保存一張圖片。資源