File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,16 @@ To create an .exe [application] file from a python script
38
38
* [ myicon.ico = icon file name myscriptname.py = Python file name ]
39
39
40
40
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
42
42
application then go with the below line
43
43
44
44
* 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
45
51
46
52
4 . Go to " dist " folder and get application file, delete remain file except for resources.
47
53
You can’t perform that action at this time.
0 commit comments