Re: python.exe - System Error

2021-10-05 Thread Dan Stromberg
Hi. You'll likely get more help if you include more context, like more text in your cut and paste. Also, how did you install it? And where did you get the installer from? HTH. On Thu, Sep 30, 2021 at 8:00 AM jitendrabeura001 wrote: >Hello Sir/Madam, please help me to out from this diffic

RE: Understanding the working mechanis of python unary arithmetic operators.

2021-10-05 Thread Avi Gross via Python-list
Dave, Just one point. many things are allowed by a language even if normal people would NOT have any reason to do it NOR should use it. Although when used in one context + and - can be considered unary operators, the evaluation may result in successive unary operations being done one after anoth

Re: Understanding the working mechanis of python unary arithmetic operators.

2021-10-05 Thread dn via Python-list
On 06/10/2021 10.10, Chris Angelico wrote: > On Wed, Oct 6, 2021 at 7:52 AM hongy...@gmail.com > wrote: >> >> On Saturday, October 2, 2021 at 4:59:54 PM UTC+8, ju...@diegidio.name wrote: This thread seems to have been very one-sided. Either I've forgotten selective use of the DEL-key, or the abo

Re: Open a new window by mouse clicking in the QLineEdit field and not by clicking of a button

2021-10-05 Thread Barry
> On 5 Oct 2021, at 22:07, Mohsen Owzar wrote: > > Hi all, > I'm looking for an approach, but couldn't find any appropriate answer to my > problem: > On my GUI on a tablet, I have bunch of QlineEdit widgets for the settings of > my task. > Because we have no keyboard connected to the tablet,

Re: Understanding the working mechanis of python unary arithmetic operators.

2021-10-05 Thread Chris Angelico
On Wed, Oct 6, 2021 at 7:52 AM hongy...@gmail.com wrote: > > On Saturday, October 2, 2021 at 4:59:54 PM UTC+8, ju...@diegidio.name wrote: > > On Saturday, 2 October 2021 at 10:34:27 UTC+2, hongy...@gmail.com wrote: > > > See the following testings: > > > > > > In [24]: a=3.141592653589793238462643

Re: Big jump in version

2021-10-05 Thread Grant Edwards
On 2021-10-04, Cecil Westerhof via Python-list wrote: > When I run: > pip3 list --outdated > > I get: > Package Version Latest Type > --- -- - > cryptography 3.4.8 35.0.0 wheel > > The jump from 3 to 35 seems a bit excessive to me. Or is it correct?

Open a new window by mouse clicking in the QLineEdit field and not by clicking of a button

2021-10-05 Thread Mohsen Owzar
Hi all, I'm looking for an approach, but couldn't find any appropriate answer to my problem: On my GUI on a tablet, I have bunch of QlineEdit widgets for the settings of my task. Because we have no keyboard connected to the tablet, I have put two buttons ("+" and "-") around each QLineEdit widge

Re: matplotlib graph white space

2021-10-05 Thread Michel Alwan
u can adjust any side with the other options... (margins) if you don t want to use tight layout... On 21/10/04 11:39AM, Steve wrote: > > Yes, I saw that but it is a change for all sides. > Is there a setting to change just the left and right padding? > > > > > -Original Message- > F

Re: matplotlib graph white space

2021-10-05 Thread Michel Alwan
In the plot window, you can click on the settings (up), and select the option "tight layout" by pressing that button... I think this is what you are looking for... On 21/10/04 04:39AM, Steve wrote: > > I am using the first bar graph listed at this site: > https://matplotlib.org/stable/gallery/

Does loading PDB slow down execution?

2021-10-05 Thread Unixnut
Hi all, If I run a python3 program with "import pdb" in the code, would it execute slower than without loading the debugger? The program I am running is computationally expensive and mathematically orientated. It is expected to run for a few months (I am a few days in). I found out today tha

Big jump in version

2021-10-05 Thread Cecil Westerhof via Python-list
When I run: pip3 list --outdated I get: Package Version Latest Type --- -- - cryptography 3.4.8 35.0.0 wheel pyzstd 0.14.4 0.15.0 wheel The jump from 3 to 35 seems a bit excessive to me. Or is it correct? On a side node. I have not upda

Re: Understanding the working mechanis of python unary arithmetic operators.

2021-10-05 Thread hongy...@gmail.com
On Sunday, October 3, 2021 at 9:55:15 PM UTC+8, hongy...@gmail.com wrote: > On Sunday, October 3, 2021 at 8:38:16 PM UTC+8, ju...@diegidio.name wrote: > > On Sunday, 3 October 2021 at 14:21:13 UTC+2, hongy...@gmail.com wrote: > > > On Sunday, October 3, 2021 at 6:31:05 PM UTC+8, ju...@diegidio.na

Re: Understanding the working mechanis of python unary arithmetic operators.

2021-10-05 Thread hongy...@gmail.com
On Sunday, October 3, 2021 at 8:38:16 PM UTC+8, ju...@diegidio.name wrote: > On Sunday, 3 October 2021 at 14:21:13 UTC+2, hongy...@gmail.com wrote: > > On Sunday, October 3, 2021 at 6:31:05 PM UTC+8, ju...@diegidio.name wrote: > > > > Then you can guess that numpy overrides it and gives you *log

Re: Understanding the working mechanis of python unary arithmetic operators.

2021-10-05 Thread hongy...@gmail.com
On Sunday, October 3, 2021 at 6:31:05 PM UTC+8, ju...@diegidio.name wrote: > On Sunday, 3 October 2021 at 11:24:58 UTC+2, hongy...@gmail.com wrote: > > On Sunday, October 3, 2021 at 2:18:17 PM UTC+8, hongy...@gmail.com wrote: > > > On Saturday, October 2, 2021 at 4:59:54 PM UTC+8, ju...@diegidio.

Re: Understanding the working mechanis of python unary arithmetic operators.

2021-10-05 Thread hongy...@gmail.com
On Saturday, October 2, 2021 at 4:59:54 PM UTC+8, ju...@diegidio.name wrote: > On Saturday, 2 October 2021 at 10:34:27 UTC+2, hongy...@gmail.com wrote: > > See the following testings: > > > > In [24]: a=3.1415926535897932384626433832795028841971 > > In [27]: -a > > Out[27]: -3.141592653589793

Re: Understanding the working mechanis of python unary arithmetic operators.

2021-10-05 Thread hongy...@gmail.com
On Sunday, October 3, 2021 at 2:18:17 PM UTC+8, hongy...@gmail.com wrote: > On Saturday, October 2, 2021 at 4:59:54 PM UTC+8, ju...@diegidio.name wrote: > > On Saturday, 2 October 2021 at 10:34:27 UTC+2, hongy...@gmail.com wrote: > > > See the following testings: > > > > > > In [24]: a=3.1415926

Re: Understanding the working mechanis of python unary arithmetic operators.

2021-10-05 Thread hongy...@gmail.com
On Sunday, October 3, 2021 at 3:05:23 AM UTC+8, ju...@diegidio.name wrote: > On Saturday, 2 October 2021 at 14:48:39 UTC+2, hongy...@gmail.com wrote: > > On Saturday, October 2, 2021 at 4:59:54 PM UTC+8, ju...@diegidio.name > > wrote: > > > On Saturday, 2 October 2021 at 10:34:27 UTC+2, hongy...

Re: Definitive guide for Regex

2021-10-05 Thread Karsten Hilbert
Am Thu, Sep 30, 2021 at 12:29:16PM +0100 schrieb Shaozhong SHI: > I am trying to look for a definitive guide for Regex in Python. > Can anyone help? If you tell us what you tried in order to look we can perhaps guide you on how to take a better look. Spoonfeeding doesn't seem to be a well-liked