Re: MTG: Introductions to PyQt and DataClasses

2024-03-17 Thread Jim Schwartz via Python-list
Actually, I have a sleep disorder that requires me to keep a constant sleep schedule. Thats why I asked. Sent from my iPhone > On Mar 17, 2024, at 3:36 PM, dn via Python-list > wrote: > > On 17/03/24 23:40, Jim Schwartz wrote: >> Will it be recorded? > > Bett

Re: MTG: Introductions to PyQt and DataClasses

2024-03-17 Thread Jim Schwartz via Python-list
Will it be recorded? Sent from my iPhone > On Mar 17, 2024, at 1:47 AM, dn via Python-list > wrote: > > The Auckland Branch of NZPUG meets this Wednesday, 20 March at 1830 NZDT > (0530 UTC, midnight-ish Tue/Wed in American time-zones), for a virtual > meeting. > > Part 1: Learn the

Re: fCONV_AUSRICHTG is not defined - Why?

2023-11-07 Thread Jim Schwartz via Python-list
Where do you define fCONV_AUSRICHTG? It must be initialized or defined somewhere. Did you leave out a statement from the python 2 version? Sent from my iPhone > On Nov 7, 2023, at 1:06 PM, Thomas Passin via Python-list > wrote: > > On 11/7/2023 12:47 PM, Egon Frerich via Python-list

RE: Writing to clipboard in Python 3.11

2023-11-07 Thread Jim Schwartz via Python-list
It doesn't work in python 3.12.0 -Original Message- From: Python-list On Behalf Of Thomas Passin via Python-list Sent: Tuesday, November 7, 2023 12:08 PM To: python-list@python.org Subject: Re: Writing to clipboard in Python 3.11 On 11/5/2023 7:51 PM, Rob Cliffe via Python-list wrote:

Re: Question(s)

2023-10-25 Thread Jim Schwartz via Python-list
Does this link help? It seems to have a Linux package here. [1]Eclipse Packages | The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and [2]favicon.ico over 350 open source projects... eclipse.org Sent from my iPhone On Oct 25,

RE: Compiling python on windows with vs

2023-06-13 Thread Jim Schwartz via Python-list
Tuesday, June 13, 2023 1:12 PM To: Python Cc: Thomas Schweikle Subject: Re: Compiling python on windows with vs Am Di., 13.Juni.2023 um 19:20:38 schrieb Jim Schwartz: > What version of visual studio are you using? Visual Studio 2022, aka 17.6.2. > What version of python? python 3.10.11 or 3

Re: Compiling python on windows with vs

2023-06-13 Thread Jim Schwartz via Python-list
What version of visual studio are you using? What version of python? I’ve had success with using the cython package in python and cl from visual studio, but I haven’t tried visual studio alone. Sent from my iPhone > On Jun 13, 2023, at 11:59 AM, Thomas Schweikle via Python-list > wrote: >

RE: Learning tkinter

2023-05-18 Thread Jim Schwartz
This works for me. Hope it helps. from tkinter import messagebox messagebox.showerror("Hi", f"Hello World") -Original Message- From: Python-list On Behalf Of Rob Cliffe via Python-list Sent: Friday, May 12, 2023 3:55 AM To: Python Subject: Learning tkinter I am trying to learn

Re: Help on ctypes.POINTER for Python array

2023-05-11 Thread Jim Schwartz
I’m not sure this is the shortest method, but you could set up two python scripts to do the same thing and convert them to c using cython. I wouldn’t be able to read the c scripts, but maybe you could. Maybe someone else has a more direct answer. Sent from my iPhone > On May 11, 2023, at

Re: Christoph Gohlke and compiled packages

2023-04-11 Thread Jim Schwartz
What’s the problem now? Is it with python on windows? I use python on windows so I’d like to know. Thanks Sent from my iPhone > On Apr 11, 2023, at 2:24 AM, Chris Angelico wrote: > > On Tue, 11 Apr 2023 at 14:20, Mike Dewhirst wrote: >> >> It seems Christoph Gohlke has been cut adrift

RE: Windows installer from python source code without access to source code

2023-04-09 Thread Jim Schwartz
Thanks everyone for the help. I got my app working with using cython to generate the c code, cl to compile, and visual studio to create the setup.exe and the msi installer. I appreciate the help. -Original Message- From: Python-list On Behalf Of Jim Schwartz Sent: Friday, April 7, 2023

RE: Windows installer from python source code without access to source code

2023-04-07 Thread Jim Schwartz
to include in the package and list them. https://stackoverflow.com/questions/62390978/minimal-set-of-files-required-to-distribute-an-embed-cython-compiled-code-and-ma -Original Message- From: Jim Schwartz Sent: Friday, April 7, 2023 5:33 AM To: 'Eryk Sun' Cc: 'python-list@python.org

RE: Windows installer from python source code without access to source code

2023-04-07 Thread Jim Schwartz
From: Eryk Sun Sent: Thursday, April 6, 2023 8:06 PM To: Jim Schwartz Cc: python-list@python.org Subject: Re: Windows installer from python source code without access to source code On 4/6/23, Jim Schwartz wrote: > Never mind. I found it on the web. I needed to point my PYTHONPATH > t

RE: Windows installer from python source code without access to source code

2023-04-06 Thread Jim Schwartz
Never mind. I found it on the web. I needed to point my PYTHONPATH to sitepackages: https://stackoverflow.com/questions/56857449/importerror-after-cython-embed -Original Message- From: Python-list On Behalf Of Jim Schwartz Sent: Thursday, April 6, 2023 2:50 PM To: 'Barry' Cc

Re: Windows installer from python source code without access to source code

2023-04-06 Thread Jim Schwartz
El jue, 6 abr 2023 a las 16:52, Jim Schwartz (<[1]jsch...@sbcglobal.net>) escribió: I downloaded VS community 2022 and I know how to access the developer command prompt.  I'm using the one called x64 Native Tools Command Prompt for VS 2022 I ran a c

RE: Windows installer from python source code without access to source code

2023-04-06 Thread Jim Schwartz
_backup\src\c>aws_pc_backup.exe -m:lb Traceback (most recent call last): File "src\\python\\aws_pc_backup_main.py", line 7, in init python.aws_pc_backup_main ModuleNotFoundError: No module named 'requests' -Original Message- From: Barry Sent: Tuesday, April 4, 2023 1:25 PM To:

RE: Windows installer from python source code without access to source code

2023-04-04 Thread Jim Schwartz
Where can I download that cl program? I've used gcc before, but I hear that cl can use a setup.py program to run the compile and link and create a windows .msi installer. Is that true? -Original Message- From: Eryk Sun Sent: Friday, March 31, 2023 12:55 PM To: Jim Schwartz Cc

RE: [Python-Dev] Small lament...

2023-04-01 Thread Jim Schwartz
Yea, it is funny. I commented on it. -Original Message- From: Python-list On Behalf Of Eryk Sun Sent: Saturday, April 1, 2023 2:23 PM To: Skip Montanaro Cc: Python ; python-dev Dev Subject: Re: [Python-Dev] Small lament... On 4/1/23, Skip Montanaro wrote: > Just wanted to throw this

Re: Windows Gui Frontend

2023-04-01 Thread Jim Schwartz
Are there any ide’s that will let me design the screen and convert it to python? I doubt it because it was mentioned that this is time consuming. Thanks for the responses everyone. I appreciate it. Sent from my iPhone > On Apr 1, 2023, at 10:37 AM, Eryk Sun wrote: > > On 4/

Windows Gui Frontend

2023-04-01 Thread Jim Schwartz
I have another question. I have an app written in python, but I want to add a windows GUI front end to it. Can this be done in python? What packages would allow me to do that? Thanks. -- https://mail.python.org/mailman/listinfo/python-list

Re: Windows installer from python source code without access to source code

2023-04-01 Thread Jim Schwartz
it doesn’t matter. I have to do a lot more work before I get to that point Sent from my iPhone > On Mar 31, 2023, at 6:52 PM, Chris Angelico wrote: > > On Sat, 1 Apr 2023 at 10:34, Jim Schwartz wrote: >> >> Yea. You’re right. I probably need a lawyer someday. Thanks. &

Re: Windows installer from python source code without access to source code

2023-03-31 Thread Jim Schwartz
Yea. You’re right. I probably need a lawyer someday. Thanks. Sent from my iPhone > On Mar 31, 2023, at 5:12 PM, Thomas Passin wrote: > > On 3/31/2023 5:16 PM, Jim Schwartz wrote: >> What license do I have to choose so people can't use my code? I don't know >> this stuf

RE: Windows installer from python source code without access to source code

2023-03-31 Thread Jim Schwartz
to source code On Fri, 31 Mar 2023 at 23:01, Jim Schwartz wrote: > > I want a windows installer to install my application that's written in > python, but I don't want the end user to have access to my source code. > > > > Is that possible using python? I was using cx

Windows installer from python source code without access to source code

2023-03-31 Thread Jim Schwartz
I want a windows installer to install my application that's written in python, but I don't want the end user to have access to my source code. Is that possible using python? I was using cx-freeze, but that has the source code available. So does pyinstaller. I think gcc does, too. Does

RE: Fwd: Installation hell

2022-12-19 Thread Jim Schwartz
This type of response is not called for. I thought this list was designed to help people. That's not what this person was doing. Everyone has different experience levels and backgrounds. Help them learn. Don't berate them. Here's what was said: Issues installing python and sending an email?

Re: Apparent Issue with Administrator Privileges

2022-10-18 Thread Jim Schwartz
Is PYTHONPATH a user defined environment variable or system defined environment variable? Sent from my iPhone > On Oct 18, 2022, at 1:56 PM, Walsh, Ginny (US) wrote: > > Hello- > > I've been struggling with resolving environmental variables issues and I > believe it is linked to my

Re: Python scripts in .exe form

2022-08-20 Thread Jim Schwartz
What method did you use to create the exe file from your python scripts? If it was pyinstaller, then it puts the compiled versions of these python scripts in a windows temp folder when you run them. You’ll be able to get the scripts from there. Sent from my iPhone > On Aug 19, 2022, at 9:51

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

[issue46084] Python 3.9.6 scan_dir returns filenotfound on long paths, but os_walk does not

2021-12-15 Thread Jim Schwartz
Jim Schwartz added the comment: Please let me know if you are able to reproduce this issue. -- ___ Python tracker <https://bugs.python.org/issue46084> ___ ___

[issue46084] Python 3.9.6 scan_dir returns filenotfound on long paths, but os_walk does not

2021-12-15 Thread Jim Schwartz
Jim Schwartz added the comment: my c drive and h drive are both internal drives and I run the python script from my user directory on my c drive. Not sure if that makes any difference. Just trying to think of things that might help you reproduce and fix

[issue46084] Python 3.9.6 scan_dir returns filenotfound on long paths, but os_walk does not

2021-12-15 Thread Jim Schwartz
Jim Schwartz added the comment: when I run the following command: python "H:\Users\LindaJim\Documents\AWS Python Learning\test_dir_scan_dir.py" "C:\\" I get this output: ... Traceback (most recent call last): File "H:\Users\LindaJim\Documents\AWS Python Lear

[issue46084] Python 3.9.6 scan_dir returns filenotfound on long paths, but os_walk does not

2021-12-15 Thread Jim Schwartz
Jim Schwartz added the comment: the issue is with the scandir script, not the os_walk script. I tried to upload the scandir python script before, but I guess it didn't upload. When I was running the two scripts, I used an input of C:\\ as the input parameter. Hope that helps

[issue46084] Python 3.9.6 scan_dir returns filenotfound on long paths, but os_walk does not

2021-12-15 Thread Jim Schwartz
Jim Schwartz added the comment: do you have this registry entry set to 1: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled set to 1. It works if you do. What version of windows do you have? I have version 21H2 (OS Build 19044.1387). I don't have windows 11

[issue46084] Python 3.9.6 scan_dir returns filenotfound on long paths, but os_walk does not

2021-12-15 Thread Jim Schwartz
Jim Schwartz added the comment: yes, I do. C:\Users\Jim\Documents\jschw_uiowtv3_old\AppData\Local\Google\Chrome\User Data\Default\Extensions\nenlahapcbofgnanklpelkaejcehkggg\0.1.823.675_0\notifications\pages\Cashback\components\CashBackResolve\components\RewardsActivation\components

[issue46084] Python 3.9.6 scan_dir returns filenotfound on long paths, but os_walk does not

2021-12-15 Thread Jim Schwartz
Jim Schwartz added the comment: Here's the second file that works just fine under python 3.9 (by the way, I am using Windows 64-bit). I didn't test this on later python versions, however, nor did I test it on 32-bit versions. I see that many people on the internet have said to change

[issue46084] Python 3.9.6 scan_dir returns filenotfound on long paths, but os_walk does not

2021-12-15 Thread Jim Schwartz
New submission from Jim Schwartz : Python 3.9.6 scan_dir returns filenotfound on long paths, but os_walk does not. I've enclosed sample scripts that compare the two and have returned the results. the windows 10 registry entry to extend the path names fixes this issue (HKEY_LOCAL_MACHINE