Skip to content

Commit 604f659

Browse files
authored
Update README.md
Improvement
1 parent 6337da6 commit 604f659

File tree

1 file changed

+22
-17
lines changed

1 file changed

+22
-17
lines changed

README.md

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Python-Script-to-Application
1+
# Python Script to Application
22

33
**To create an (.exe) executable application file from a python script**.
44

55
## Steps :
66

7-
**1.** Install **[Inno Setup Compiler](tools/innosetup-6.1.2.exe)** free application and Pyinstaller. </br>
7+
1. Install **[Inno Setup Compiler](tools/innosetup-6.1.2.exe)** free application and Pyinstaller. </br>
88

99
Open **windows shell** and run :
1010

@@ -13,9 +13,9 @@
1313
pip install pyinstaller
1414
1515
```
16-
**2.** Save Python script with all the resources in one folder.
16+
2. Save Python script with all the resources in one folder.
1717

18-
**3.** Open folder and press 'Shift + right click' select **Open PowerShell window**.
18+
3. Open folder and press 'Shift + right click' select **Open PowerShell window**.
1919

2020

2121
Run below commands:
@@ -52,44 +52,49 @@ pyinstaller -F -i "mylogo.ico" myprogram.py --onefile --noconsole
5252
pyinstaller -F -i "mylogo.ico"--add-data "Additionalimage.png;." myprogram.py --onefile --noconsole
5353
5454
```
55-
**4.** Go to **dist** folder and get application file, delete remain file except for resources.</br>
55+
4. Go to **dist** folder and get application file, delete remain file except for resources.</br>
5656

5757

58-
**Congratulations ! 🤩 you successfully created your standalone application.**</br>
58+
**🤩 Congratulations**, you successfully created your standalone application</br>
59+
5960

6061
However if you want your application as **setup.exe**, then windows installer will extract the installation resources from itself and manage their installation directly.</br>
6162

62-
**5.** Open Inno setup to make (.exe) file which is Installable/Executable in Windows PC, select **Create a new script file using Script Wizard** and browse to select your application.</br>
63+
64+
5. Open Inno setup to make (.exe) file which is Installable/Executable in PC, select Create a new script file using **Script Wizard** and browse to select your application.</br>
6365

6466

65-
**6.** Select all required things for your application such as Icon of setup file, Before installation document, Licence .etc</br>
67+
6. Select all required things for your application such as Icon of setup file, Before installation document, Licence .etc</br>
6668

6769

68-
**7.** Click **Yes** to all, in the end go to Output Folder get **setup file** of application and click on open to install.</br>
70+
7. Click **Yes** to all, in the end go to Output Folder get **setup file** of application and click on open to install.</br>
6971

7072

71-
**Yor're done !**
73+
**You're done !**
7274

7375
## Precautions :
74-
:heavy_check_mark: Save the resources in one folder, Do not save the folder inside another folder.
76+
1. Save the resources in one folder, Do not save the folder inside another folder
7577

76-
> *It will not give full permission to execute the commands. # ParentContainsErrorRecordException*
78+
- It will not give full permission to execute the commands.</br> # ParentContainsErrorRecordException
7779

7880

79-
:heavy_check_mark: Check Spellings before running the commands, Do not put any _space_ in your main python (.py) programme file name.
81+
2. Check Spellings before running the commands, Do not put any _space_ in your main python (.py) programme file name.
8082

81-
> *File not found show*
83+
- File not found show
8284

83-
:heavy_check_mark: Do not use the _icon_ word as a name of your icon (.ico) file, always use a different name.
85+
3. Do not use the _icon_ word as a name of your icon (.ico) file, always use a different name.
8486

85-
> *It will show no icon file found.*
87+
- It will show no 'icon file found'
8688

87-
:heavy_check_mark: Do not Close Powershell window until **Building EXE from EXE-00.toc completed successfully**
89+
4. Do not Close Powershell window until **Building EXE from EXE-00.toc completed successfully**
8890
Message not shows.</br>
8991

9092
### Refrences
9193
* [Pyinstaller](https://pyinstaller.readthedocs.io/en/stable/operating-mode.html)
9294
* [Inno Setup Compiler](https://jrsoftware.org/isdl.php)</br>
9395
* [Real Python](https://realpython.com/pyinstaller-python/#:~:text=PyInstaller%20supports%20making%20executables%20for,machine%20for%20each%20supported%20OS)
9496
* Feel free to report <b>[issues](https://github.com/Abhijeetbyte/Python-Script-to-Application/issues/new)</b>
97+
98+
99+
95100

0 commit comments

Comments
 (0)