![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
早起的菜鸟wzt
这个作者很懒,什么都没留下…
展开
-
Python迭代设计
from xml.etree.ElementTree import Element import os, abc, shutil class BDMMetaObject(metaclass=abc.ABCMeta): @abc.abstractmethod def to_xml(self): pass @classmethod @abc.abstractmethod def xml_tag_name(cls): pass cl原创 2021-07-12 18:26:49 · 51 阅读 · 0 评论 -
Python生成exe可执行文件
window 方式 @echo off set PROJECT_ROOT=%~dp0\..\ set PYTHONPATH=%PROJECT_ROOT%\ pyinstaller -F --distpath "%PROJECT_ROOT%\bin" --workpath "%tmp%" --clean "%PROJECT_ROOT%\bin\py_gen_parm.spec" spec配置文件 py_gen_parm.spec # -*- mode: python ; coding: utf-8 -*-原创 2021-07-12 18:23:25 · 127 阅读 · 0 评论