Python Forum
Create Executable file for Wireless Temperature Sensor
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create Executable file for Wireless Temperature Sensor
#1
Hi, I have worked on a script which receives the data of wireless temperature sensors, I have used pyinstaller to create the executable file in windows as windows use the .exe extension but I want to use the same executable file in Different OS platforms like MAC and Linux but they are using .exe format.

So is there any way to run the same file in every platform?

Or do I have to create the separate executable for different OS
Reply
#2
if run as a script, it will run on any platform so long as python is installed.
Once turned into an exe, it becomes platform specific and will only run on the platform it is built on.
You will have to create an exe for each platform.
Reply
#3
(Jan-05-2019, 11:17 AM)Larz60+ Wrote: You will have to create an exe for each platform.
Or more correct not a .exe for linux,Mac.
As mention have to run pyinstaller on each platform,on Windows it will create foo.exe on Linux foo also no file extension.
But they work same when made,also they are both stand alone executable.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  i want to create my own file-like object Skaperen 0 2,067 Apr-17-2020, 11:47 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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