1.【字典添加键值对】
Mest=['A','B','C']
i=0
mapping={}
while i<len(Mest):
mapping.update({i:Mest[i]})
i+=1
print(mapping)
2.【打包生成可执行文件】
(venv) H:\Alphism\venv\Scripts>python pyinstaller.exe -F -w -i mest.ico test.py
字典添加键值对和打包生成可执行文件
阅读 148
2022-11-09
1.【字典添加键值对】
Mest=['A','B','C']
i=0
mapping={}
while i<len(Mest):
mapping.update({i:Mest[i]})
i+=1
print(mapping)
2.【打包生成可执行文件】
(venv) H:\Alphism\venv\Scripts>python pyinstaller.exe -F -w -i mest.ico test.py
相关推荐
精彩评论(0)