Re: Problem using cx_Freeze > auto-py-to-exe

2022-08-19 Thread Dennis Lee Bieber
On Thu, 18 Aug 2022 12:17:25 -0600, David at Booomer declaimed the following: > >I did count but hadn’t noticed this argument list before you mentioned it. >However, I still don’t see any of these argument names in the Executable list >or anywhere else. > It's your responsibility to pr

Re: Problem using cx_Freeze > auto-py-to-exe

2022-08-18 Thread Chris Angelico
On Fri, 19 Aug 2022 at 10:07, Grant Edwards wrote: > > On 2022-08-18, Chris Angelico wrote: > > On Fri, 19 Aug 2022 at 05:05, Grant Edwards > > wrote: > >> On 2022-08-18, Chris Angelico wrote: > >> > >> > It's one of the frustrations with JSON, since that format doesn't > >> > allow the traili

Re: Problem using cx_Freeze > auto-py-to-exe

2022-08-18 Thread Grant Edwards
On 2022-08-18, Chris Angelico wrote: > On Fri, 19 Aug 2022 at 05:05, Grant Edwards wrote: >> On 2022-08-18, Chris Angelico wrote: >> >> > It's one of the frustrations with JSON, since that format doesn't >> > allow the trailing comma :) >> >> Yep, that's a constant, low-level pain for all the C

Re: Problem using cx_Freeze

2022-08-18 Thread subin
Hope you had a good time. On Wed, Aug 17, 2022 at 10:19 PM Peter J. Holzer wrote: > On 2022-08-17 12:09:14 -0600, David at Booomer wrote: > > Executable( > > > "prjui.py","Maiui.py","about.py","dict.py","geometry.py","getEquation.py", > > > "gtrail.py","main.py","matchingstring.py","pr

Re: Problem using cx_Freeze > auto-py-to-exe

2022-08-18 Thread Chris Angelico
On Fri, 19 Aug 2022 at 05:05, Grant Edwards wrote: > > On 2022-08-18, Chris Angelico wrote: > > On Fri, 19 Aug 2022 at 04:19, David at Booomer wrote: > > > >> The trailing , does make commenting out arguments easier but > >> unexpected coming from ‘older’ languages. ;-) > > > > It's one of the f

Re: Problem using cx_Freeze > auto-py-to-exe

2022-08-18 Thread Grant Edwards
On 2022-08-18, Chris Angelico wrote: > On Fri, 19 Aug 2022 at 04:19, David at Booomer wrote: > >> The trailing , does make commenting out arguments easier but >> unexpected coming from ‘older’ languages. ;-) > > It's one of the frustrations with JSON, since that format doesn't > allow the trailin

Re: Problem using cx_Freeze > auto-py-to-exe

2022-08-18 Thread Chris Angelico
On Fri, 19 Aug 2022 at 04:19, David at Booomer wrote: > > This is really common in modern programming languages (read: programming > > languages younger than 30 years or so), because it makes it much more > > convenient to extend/shorten/reorder a list. Otherwise you alway have to > > remember add

Re: Problem using cx_Freeze > auto-py-to-exe

2022-08-18 Thread David at Booomer
r suggestions Dennis. This was the first time I saw the possibility of creating a python executable. Then I searched for ‘python executable’ and found auto-py-to-exe and pyinstaller which I must/might explore later. First tries ran into PyQt4 to PyQt5 conversions. Good start at https://towardsd

Re: Problem using cx_Freeze

2022-08-17 Thread Peter J. Holzer
On 2022-08-17 12:09:14 -0600, David at Booomer wrote: > Executable( > > "prjui.py","Maiui.py","about.py","dict.py","geometry.py","getEquation.py", > > "gtrail.py","main.py","matchingstring.py","producelatex.py","readfile.py", > "separete.py","speak.py",

Re: Problem using cx_Freeze

2022-08-17 Thread Dennis Lee Bieber
On Wed, 17 Aug 2022 12:09:14 -0600, David at Booomer declaimed the following: >executables=[ >Executable( > > "prjui.py","Maiui.py","about.py","dict.py","geometry.py","getEquation.py", > > "gtrail.py","main.py","matchingstring.py","producelatex.py","readfile.py

Re: Problem using cx_Freeze

2022-08-17 Thread David at Booomer
mention of adding self which is in these lines already. Previously I had search for __init__() which returned no lines due to the closing ). I had visited the page you provided (https://cx-freeze.readthedocs.io/en/latest/setup_script.html#cx-freeze-executable) but didn’t noticed the 11 plus self as 12

Re: Problem using cx_Freeze

2022-08-16 Thread Dennis Lee Bieber
On Mon, 15 Aug 2022 18:00:48 -0600, David at Booomer declaimed the following: >However I now get an error > >init() takes from 2 to 12 positional arguments but 14 were given > >I found a couple instances of init in two .py files that were part of the >whole. > >One .py file >def __init__(self):

Re: Problem using cx_Freeze

2022-08-15 Thread Dennis Lee Bieber
On Mon, 15 Aug 2022 10:30:41 -0600, David at Booomer declaimed the following: >I’m trying to use cx_Freeze (https://pypi.org/project/cx-Freeze/) in a python >app but running into an error message: > >AttributeError: module 'cx_Freeze' has no attribute ‘BdistDMG’ What operating system? B

Re: Problem using cx_Freeze

2022-08-15 Thread David at Booomer
Hi Jim Thanks for your suggestions. I changed from cx_Freeze import * to from cx_Freeze import setup, Executable And no longer get the BdistDMG error — I had found the page https://cx-freeze.readthedocs.io/en/latest/setup_script.html But hadn’t tried the setup, Executable option in the from

Re: Problem using cx_Freeze

2022-08-15 Thread Jim Schwartz
This link covers how to use BDist_dmg. https://cx-freeze.readthedocs.io/en/latest/setup_script.html Sent from my iPhone > On Aug 15, 2022, at 12:11 PM, David at Booomer wrote: > > I’m trying to use cx_Freeze (https://pypi.org/project/cx-Freeze/) in a > python app but running into an error m

RE: Problem using cx_Freeze

2022-08-15 Thread jschwar
I see a class called BdistDMG in the module called bdist_mac.py. Did you try importing that from cx_freeze? -Original Message- From: Python-list On Behalf Of David at Booomer Sent: Monday, August 15, 2022 11:31 AM To: python-list@python.org Subject: Problem using cx_Freeze I’m trying