Python Forum
Python 3.4: the only release to create .EXE standalone without .dll
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python 3.4: the only release to create .EXE standalone without .dll
#6
samsonite Wrote:Just done, unsuccessfully (many .dll's) with 3.5.1 version, as follows, and I have some doubts that something changes with 3.7.
Had you look at my run in my previous post.
pyinstaller --onefile --console power.py
Is the same as @Axel_Erfurt postet so -F is the same as --onefile.

Upgrade your Python version,do not use Python 3.4 anymore.
Python 3.6/3.7 and pip installation under Windows
A carrot for upgrade is that you can use f-string.
>>> print(f"Sammy has {4:4} red and {16:16}! blue balloons")
Sammy has    4 red and               16! blue balloons
 
>>> # f-strings support any Python expressions inside the curly braces
>>> name = 'f-string'
>>> print(f"My cool string is called {name.upper()}.")
My cool string is called F-STRING.
 
>>> a, b = 5, 7
>>> f'{a}/{b} = {a/b:.2}'
'5/7 = 0.71'
 
>>> for word in 'f-strings are awesome'.split():
...     print(f'{word.upper():~^20}')
~~~~~F-STRINGS~~~~~~
~~~~~~~~ARE~~~~~~~~~
~~~~~~AWESOME~~~~~~~
Reply


Messages In This Thread
RE: Python 3.4: the only release to create .EXE standalone without .dll - by snippsat - Feb-26-2019, 07:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question [SOLVED] Tiny web server as standalone executable? Winfried 0 377 Feb-09-2024, 11:48 AM
Last Post: Winfried
  Run an app in a standalone terminal and wait until it's closed glestwid 2 2,562 Aug-30-2020, 08:14 AM
Last Post: glestwid
Lightbulb Standalone application samuelbachorik 8 3,605 Aug-02-2020, 01:57 PM
Last Post: samuelbachorik
  How to get mouse coordinates on click and release OhNoSegFaultAgain 1 3,024 May-17-2019, 06:56 PM
Last Post: buran
  How to release control of file jmair 2 2,812 Oct-03-2018, 08:22 PM
Last Post: jmair
  Release kbhit Epilepsy 2 4,358 May-26-2018, 10:47 AM
Last Post: snippsat
  How to release Memory of GPU! majinbuu 1 2,646 May-11-2018, 05:06 AM
Last Post: j.crater
  Standalone interpreter? stf92 2 2,858 Mar-11-2018, 12:33 AM
Last Post: stf92
  Correct way to import from a standalone module in a different location chowder 3 18,434 Dec-16-2017, 07:44 PM
Last Post: Larz60+
  3.6.2 is latest stable release right? And "path length" Fran_3 3 3,358 Aug-01-2017, 02:04 PM
Last Post: Fran_3

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020