Python Forum
Running python file without python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Running python file without python
#1
Hi! I've found out that it's possible to turn a python file into an .exe file, but presumably that's only if you're using no external modules. I have code that requires PyGame (and PyGame mixer), Tkinter, PIL and Shutil - am I still able to make it so it's not necessary for someone to install Python + modules to run it?
Reply
#2
pyInstaller might work. I'll link you to their site but if that's the option you describe which doesn't allow external modules, I don't believe I can be of help.
http://www.pyinstaller.org/
Reply
#3
Pyinstaller works with 3-party modules,look at doc.
If search forum there are several post about this.
Have a tutorial here.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to write variable in a python file then import it in another python file? tatahuft 4 882 Jan-01-2025, 12:18 AM
Last Post: Skaperen
  Python: How to import data from txt, instead of running the data from the code? Melcu54 1 603 Dec-13-2024, 06:50 AM
Last Post: Gribouillis
  No Internet connection when running a Python script basil_555 8 3,103 Mar-11-2024, 11:02 AM
Last Post: snippsat
Question Running Python script through Task Scheduler? Winfried 8 5,787 Mar-10-2024, 07:24 PM
Last Post: Winfried
  Help Running Python Script in Mac OS emojistickers 0 919 Nov-20-2023, 01:58 PM
Last Post: emojistickers
  error "cannot identify image file" part way through running hatflyer 0 1,932 Nov-02-2023, 11:45 PM
Last Post: hatflyer
  Python Launcher Pops Up When Py-based App Is Running (Mac) radix_optimus 0 1,106 Sep-18-2023, 09:22 AM
Last Post: radix_optimus
  Is it possible to capture live running waveforms in an oscilloscope using python? Girishbabu_27 4 2,057 Jul-29-2023, 06:05 AM
Last Post: Girishbabu_27
  Error when running kivy on python janeik 8 5,352 Jun-16-2023, 10:58 PM
Last Post: janeik
  Python script running under windows over nssm.exe JaroslavZ 0 1,633 May-12-2023, 09:22 AM
Last Post: JaroslavZ

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020