Skip to content

Commit 6d3b6c6

Browse files
authored
Update README.md
1 parent 47d2613 commit 6d3b6c6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,16 @@ To create an .exe [application] file from a python script
3838
* [ myicon.ico = icon file name myscriptname.py = Python file name ]
3939

4040

41-
3. 1 if you want your executable application with resources in one file and no console running behind your
41+
3. 1 if you want your executable application with no console running behind your
4242
application then go with the below line
4343

4444
* pyinstaller -F -i "myicon.ico" myscriptname.py --onefile --noconsole
45+
*
46+
47+
3. 2 if you want your executable application with additional file (--add-data command) and no console running behind your
48+
application then go with the below line
49+
50+
* pyinstaller -F -i "myicon.ico"--add-data "AdditionalImage.png;." myscriptname.py --noconsole
4551

4652
4. Go to " dist " folder and get application file, delete remain file except for resources.
4753

0 commit comments

Comments
 (0)