update
This commit is contained in:
parent
92498c449d
commit
19589fb0d0
2
setup.py
2
setup.py
@ -1,7 +1,7 @@
|
|||||||
from cx_Freeze import setup, Executable
|
from cx_Freeze import setup, Executable
|
||||||
|
|
||||||
# 添加你的脚本名称和其他配置
|
# 添加你的脚本名称和其他配置
|
||||||
executables = [Executable("main.py"),Executable("show_avatar.py")]
|
executables = [Executable("main.py"),Executable("show_avatar.py",base="Win32GUI")]
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="HeadBallGame",
|
name="HeadBallGame",
|
||||||
|
@ -72,5 +72,7 @@ def create_image_viewer(folder_path):
|
|||||||
root.mainloop()
|
root.mainloop()
|
||||||
|
|
||||||
# 使用示例:
|
# 使用示例:
|
||||||
|
if not os.path.exists("faces"):
|
||||||
|
os.makedirs("faces")
|
||||||
folder_path = "faces" # 图像文件夹路径
|
folder_path = "faces" # 图像文件夹路径
|
||||||
create_image_viewer(folder_path)
|
create_image_viewer(folder_path)
|
Loading…
Reference in New Issue
Block a user