简体   繁体   中英

running Python script (Tkinter) on Windows

I coded a script to help a person running a little experiment. To make it easy, I programmed a little GUI using Tkinter.

Everything works smoothly on my Ubuntu laptop, and she's very happy with it. The problem is: she only runs Windows on her PC. Is there a way to make the script work on Windows too (considering it uses graphical libraries from Tkinter?). I would be very happy if I could just pack everything into a .exe file that I could then send over by email.

Keep in mind that I have to do everything on my PC (where there is only Linux) and then she has to run it on hers, where there is only Windows. Any suggestion?

Thank you very much!

您可以使用pyinstallerpy2exe之类的东西。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM