Home  >  Q&A  >  body text

python - 打包pandas 为exe很大?

高洛峰高洛峰2742 days ago999

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-04-18 09:28:25

    You should only import the functions you need. In addition, this kind of mathematical calculation and data processing library is not suitable for packaging into a file. There is no need to add the -F option. Otherwise, your program for calculating addition and the program for calculating multiplication will cost more than one hundred each. M, obviously many libraries can be shared.
    PS: Most python scripts do not need and are not suitable to be packaged into EXE files. If you want to use it on other Windows computers, you might as well package the virtualenv environment into a zip

    reply
    0
  • Cancelreply