How to make an exe that can have linux packges like nmap or so, without being installed by the user?
Asked
Active
Viewed 20 times
-1
-
Usually I'd expect a `*.exe` file to be Windows-only, so unable to run Linux software. I'm not clear how this would be related to Python; indeed, for many tasks it's be better to use Python-native solutions than to shell out to other tools. Can you say a little bit more about the problem you're encountering in your code that's leading you towards this particular implementation, and give a sample of the code you'd use to call it? – David Maze Apr 24 '22 at 22:15
-
Bro, i meant by linux packges like nmap cause community and I usually call it that, and NO, nmap and other things can run on windows, check – Core Apr 24 '22 at 23:22
1 Answers
0
You can use https://pyinstaller.org/ to package a python app and all its dependencies into a single package.
With this tool you can create executables for Windows, Linux and MacOS
VarChar42
- 587
- 1
- 13
-
I know but can i like if we talk about windows, can i like add netcat.exe into my app? I don’t know how to describe it – Core Apr 24 '22 at 23:25