Skip to content

马皛源 – Xiaoyuan Ma

物联网、信息物理系统以及无线嵌入式系统 – IoT, CPS, and wireless embedded networked systems

  • 首页 – Homepage
  • 研究 – Research
  • 出版物 – Publication
  • 同行认可 – Peer Recognition
  • 联系 – Contact

python

2015-05-282015-12-06 sean

如何用PyInstaller将.py程序转换为.exe

1、下载PyInstaller 2、运行一下命令 python pyinstaller.py –onefile –icon=app.ico “app.py” –onefile:建立一个单独的可执行文件。 –icon:为.exe文件添加一个图标文件。 参考: —http://pythonhosted.org/PyInstaller/

2015-05-232015-12-06 sean

python库在windows下的安装

若第三方包中有setup.py,则可以在此文件所在目录下这样安装

python setup.py install

MARK一下。

Copyright © 2015-2024

Xiaoyuan Ma

Blog at WordPress.com.
  • Subscribe Subscribed
    • 马皛源 - Xiaoyuan Ma
    • Already have a WordPress.com account? Log in now.
    • 马皛源 - Xiaoyuan Ma
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy