Skip to content

CodClever/.py-to-.exe-file-documentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.py-to-.exe-file-documentation

					* CONVERT A .py FILE INTO AN .exe FILE *
					* CREATE A SETUP FILE FOR YOUR .exe FILE *
  • What this readme file contains :-

1.) Shows in detain that - How to convert a .py file into an .exe file.

2.) Shows in deatil that - How to convert a setup file for your .exe file.

Description on the youtube video:

You've just made a beautiful GUI app with Python - but there's a big difference between creating an app for your personal use and distributing it all across the web, reaching many people who don't necessarily know anything about Python. In this tutorial, I will show you exactly how to convert your Tkinter, Kivy, KivyMD, PyQT5, or other GUIs into a full-blown professional program! 🤩🤩🤩 The end result is a 😱 SINGLE SETUP FILE 😱 which anyone can download and install on their computer - even your grandmom!!! 👵 We will use Pyinstaller to create an executable file and Inno Setup to bundle it with dependencies and convert them into a setup wizard. In addition, we will discuss some common errors, how to fix them and how to avoid irrelevant instructions (hint: do we really need to modify the SPEC file? 🤔) We will briefly tackle licensing (open source, as you may guess 😉), and generating icons. Please note, this video is designed for Windows developers and users! However, I will cover Linux and Mac as well in some future tutorials... the Mac tutorial is of course inspired by Tom! XDD (but only members of our Discord community will understand the joke, this is how I test if they read video descriptions 😅)

This is an very extensive, deep and detail information created by me - Arinjay Kumar. This took me a lot of hours. This was a very painful and time taking thing project.

For converting .py file to an .exe(executable file).

  • Includes the way for making your own setup process for your .exe file * Please follow the instructions carefully and properly:-

VENV Alternatives :- $ python3 -m venv name_of_my_env $ source name_of_my_env/bin/activate

  • IMPORTANT LINKS * :-

Link to the original source : https://www.youtube.com/watch?v=p3tSLatmGvU Random Recipe Picker Repository : https://github.com/MariyaSha/RandomRecipePicker Resource Path Function (Stack Overflow) : https://stackoverflow.com/questions/31836104/pyinstaller-and-onefile-how-to-include-an-image-in-the-exe-file PNG to ICO Icon Converter : https://image.online-convert.com/convert-to-ico Inno Setup : https://jrsoftware.org/isinfo.php Open Source Initiative MIT License : https://opensource.org/license/mit/

Point to note :-

  • There may be some or many problems or issues related to information, etc. in this readme file.
  • There are popularly two methods for conveting .py file to .exe file, that is :- *

1.) PYINSTALLER (Jokingly known as - Mother of Auto Py)

2.) Auto Py

  • USING PYINSTALLER METHOD *
  • Requires you to have pip already installed on your computer. *
  • As per a windows user *
  • May work in MAC or LINUX, etc *
  • Not tested *
  • It will work properly even if the .py file has - python app, sqlite DB(Database), .png images, tt fonts etc and .py packages like - Tkinter, Kivy, KivyMD, PyQT5, or other GUI packages.
  • Highly not recommended for business. *
  • Only recommended for personal use. *
  • Any loss of information, theft, damage, or any other issue or problem happens, we are not responsible for it. *

For installing pip on your personal computer:-

Link :-

https://www.youtube.com/watch?v=c_qNC1lL4qA

About Zodiac: (A project by Arinjay Kumar)

Welcome to Zodiac AI, where innovation meets intelligence in the digital realm! At Zodiac AI, we believe in the transformative power of artificial intelligence, ushering in a new era of possibilities. - Arinjay Kumar

									©️ Copyright 2024 Arinjay Kumar    All rights reserved.

About

* CONVERT A .py FILE INTO AN .exe FILE *

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published