Re: pyinstaller

2020-06-11 Thread Robin Becker
On 10/06/2020 20:41, Chris Angelico wrote: . Python can be installed from the app store, or from a python.org downloader. If that's too much hassle for them, then they're going to need help *whatever* you do. works for windows 10, but probably not on older machines. The current exe wo

Re: pyinstaller

2020-06-11 Thread Chris Angelico
On Thu, Jun 11, 2020 at 6:18 PM Robin Becker wrote: > > On 10/06/2020 20:41, Chris Angelico wrote: > . > > Python can be installed from the app store, or from a python.org > > downloader. If that's too much hassle for them, then they're going to > > need help *whatever* you do. > > > works

Re: pyinstaller

2020-06-11 Thread Barry Scott
> On 10 Jun 2020, at 14:46, Robin Becker wrote: > > I'm sure this has come up before, but a tiny pyinstaller created exe is being > seen as malware by windows 10. > > Is there any way to create simple single file applications which don't get > this treatment? Submit the .exe to Microsoft s

Re: pyinstaller

2020-06-11 Thread Robin Becker
On 11/06/2020 09:24, Chris Angelico wrote: But you DO get to choose what you support. If they want to use Windows 98 on an 80386, that's their (stupid) choice, and they can't guarantee that your program will work on it. sadly this isn't really true since this is only part of the process

Re: pyinstaller

2020-06-11 Thread Robin Becker
.. Submit the .exe to Microsoft so they can update the virus definitions to remove your false positive. https://www.microsoft.com/en-us/wdsi/filesubmission I did this for one of my open source projects and Microsoft fixed the false

Re: pyinstaller

2020-06-11 Thread Chris Angelico
On Thu, Jun 11, 2020 at 7:27 PM Robin Becker wrote: > > On 11/06/2020 09:24, Chris Angelico wrote: > > > > > But you DO get to choose what you support. If they want to use Windows > > 98 on an 80386, that's their (stupid) choice, and they can't guarantee > > that your program will work on

RE: Syntax Help

2020-06-11 Thread John Weller
Many thanks to all who responded. I was an experienced programmer until I retired nearly 20 years ago, mainly in the military weapons area then XBase when I left the military. I decided I had to learn Python when my grandson started learning it at school if I wanted to retain my position as th

PyDev 7.6.0 Released

2020-06-11 Thread Fabio Zadrozny
PyDev 7.6.0 Release Highlights - *Debugger improvements* (updated to pydevd 1.9.1). - *Variables are now grouped* (special/class/function/protected) -- note: it's possible to hide groups in the variables view menu dropdown. - When a launching a subprocess does not target a py

Convert and analyze image data in a spreadsheet.

2020-06-11 Thread Vincent Davis
Looking for a little advise. I have 6x6 color (CIELAB ) data in a spreadsheet (color samples of clothing). I would like to visualize this as an image on a per channel (l,a,b) and as a color image. I can read the data from the spreadsheet. I am not s

Re: repair modify uninstall

2020-06-11 Thread Terry Reedy
On 6/10/2020 11:30 PM, Grant Edwards wrote: On 2020-06-11, Michael Torrie wrote: Since this comes up on a weekly basis, perhaps the installer should open that web page to section 3.8.1 after a successful installation. Maybe users would read that short section and not try to run the installer

Re: pyinstaller

2020-06-11 Thread Grant Edwards
On 2020-06-11, Chris Angelico wrote: > But you DO get to choose what you support. True, for a certain value of "you". The requirement to support certains OSes and versions is often a business decision that is out of the hands of the developer. I suppose the OP could quit and stand on the stree

Re: Syntax Help

2020-06-11 Thread Terry Reedy
On 6/11/2020 6:03 AM, John Weller wrote: I have been able to find answers to most problems by Googling but couldn't work out a suitable query for this one. That is why I and others have made the Symbols index as complete as possible. If anything thinks something is missing, say so here. --

Fwd: python 3.8.3 fails

2020-06-11 Thread Avraham Markov
Please suggest something to fix -- Forwarded message - From: Avraham Markov Date: Thu, Jun 11, 2020 at 5:50 PM Subject: python 3.8.3 fails To: Hello, I successfully installed Python 3.8.3 (64-bit) at Windows 10 LTSC 64 bit by python-3.8.3-amd64 installer from https://www.python

The FaQ project - Single or Double quotes

2020-06-11 Thread Abdur-Rahmaan Janhangeer
Since the single vs double quote thread i decided to reactivate the FaQ project. You can view it here https://abdur-rahmaanj.github.io/pyfaq/[list]_Single_or_double_quotes.html The index has some some more summaries: https://abdur-rahmaanj.github.io/pyfaq/

Re: The FaQ project - Single or Double quotes

2020-06-11 Thread Abdur-Rahmaan Janhangeer
I'm still unsure whether or not to have a summary instead of just listing the texts Kind Regards, Abdur-Rahmaan Janhangeer compileralchemy | blog github Mauritius On Thu, Jun 11, 2020 at

Re: Fwd: python 3.8.3 fails

2020-06-11 Thread MRAB
On 2020-06-11 15:58, Avraham Markov wrote: Please suggest something to fix -- Forwarded message - From: Avraham Markov Date: Thu, Jun 11, 2020 at 5:50 PM Subject: python 3.8.3 fails To: Hello, I successfully installed Python 3.8.3 (64-bit) at Windows 10 LTSC 64 bit by python-

Re: repair modify uninstall

2020-06-11 Thread Grant Edwards
On 2020-06-11, Terry Reedy wrote: > >> Indeed. Is the file name not clear that it's an installer? > > No. python-3.8.3-amd64.exe, which is typical naming for install files. > > I opened https://bugs.python.org/issue40948 and suggested adding > '-setup' or '-install', An excellent suggestion. W

Typing, how come that :int is not ensuring int parameter?

2020-06-11 Thread zljubisic
Hi, If I run this code: class Property: def __init__(self, var: int): self.a: int = var @property def a(self): return self.__a @a.setter def a(self, var: int): if var > 0 and var % 2 == 0: self.__a = var else: self.__a

Re: Syntax Help

2020-06-11 Thread DL Neil via Python-list
On 12/06/20 12:13 AM, Terry Reedy wrote: On 6/11/2020 6:03 AM, John Weller wrote: I have been able to find answers to most problems by Googling but couldn't work out a suitable query for this one. That is why I and others have made the Symbols index as complete as possible.  If anything think

Re: Typing, how come that :int is not ensuring int parameter?

2020-06-11 Thread Barry Scott
> On 11 Jun 2020, at 21:51, zljubi...@gmail.com wrote: > > Hi, > > If I run this code: > class Property: > >def __init__(self, var: int): >self.a: int = var > >@property >def a(self): >return self.__a > >@a.setter >def a(self, var: int): >if var >

Re: Typing, how come that :int is not ensuring int parameter?

2020-06-11 Thread DL Neil via Python-list
On 12/06/20 8:51 AM, zljubi...@gmail.com wrote: Hi, If I run this code: class Property: def __init__(self, var: int): self.a: int = var @property def a(self): return self.__a @a.setter def a(self, var: int): if var > 0 and var % 2 == 0:

Re: Typing, how come that :int is not ensuring int parameter?

2020-06-11 Thread zljubisic
OK, as I can see nothing is enforced but I can use mypy and tests for the purpose. As I am using pycharm, looks like I need a plugin for mypy. There are two of them out there: non official: https://plugins.jetbrains.com/plugin/11086-mypy and official: https://plugins.jetbrains.com/plugin/13348-my

Re: Typing, how come that :int is not ensuring int parameter?

2020-06-11 Thread DL Neil via Python-list
On 12/06/20 9:32 AM, zljubi...@gmail.com wrote: OK, as I can see nothing is enforced but I can use mypy and tests for the purpose. Exactly! Well done - Python uses 'duck typing' and thus when the Typing module was added, it became an option. As mentioned elsewhere, it provides "hints" at 'co

Friday Finking: Beyond implementing Unicode

2020-06-11 Thread DL Neil via Python-list
Unicode has given us access to a wealth of mathematical and other symbols. Hardware and soft-/firm-ware flexibility enable us to move beyond and develop new 'standards'. Do we have opportunities to make computer programming more math-familiar and/or more logically-expressive, and thus easier to