I made a cool little project for my friend, basically a timer using tkinter, but I am confused on how to let them access this project without having vscode or pycharm. Is it possible for them to just see the Tkinter window or something like that? Is there an application for this? Sorry if this is a stupid question.
Asked
Active
Viewed 345 times
1
-
Do you want to share the source code with them (you could use git for this), or simply share a packaged application? – NicholasM Dec 18 '20 at 05:10
-
can you elaborate more on packaged application? – John Applestein Dec 18 '20 at 05:11
-
there is the executable way or the online demo method, what you prefer. – Avatazjoe Dec 18 '20 at 07:38
1 Answers
2
You can just built an .exe (Application) of your project. Then just share the application file and anyone can use the application through .exe. You can use pyinstaller to convert your python code to exe.
pip install pyinstaller
then cd to the project folder then run the following command
pyinstaller --onefile YourFileName.py
if you want to make exe without console showing up then use this command
pyinstaller --onefile YourFileName.py --noconsole

S.I.Ayonto
- 52
- 8
-
1You can run python Tkinter demos online here [link](https://repl.it/languages/tkinter), so you can avoid to prepare a specific executable package for every OS. And then share it – Avatazjoe Dec 18 '20 at 07:36