Re: How does the super type present itself and do lookups?

2020-03-09 Thread Adam Preble
On Monday, March 9, 2020 at 9:31:45 PM UTC-5, Souvik Dutta wrote:
> This should be what you are looking for.
> https://python-reference.readthedocs.io/en/latest/docs/functions/super.html

I'm not trying to figure out how the super() function works, but rather the 
anatomy of the object is returns.

What I think is happening in my investigation is that some of the missing 
attributes in __dict__ are getting filled in from reserved slots, but it's just 
a theory. I'm trying to mimic the object in my own interpreter project.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: How does the super type present itself and do lookups?

2020-03-09 Thread Souvik Dutta
This should be what you are looking for.
https://python-reference.readthedocs.io/en/latest/docs/functions/super.html

On Tue, 10 Mar, 2020, 5:50 am Adam Preble,  wrote:

> On Wednesday, March 4, 2020 at 11:13:20 AM UTC-6, Adam Preble wrote:
> > Stuff
>
> I'm speculating that the stuff I don't see when poking are reserved slots.
> I figured out how much of a thing that is when I was digging around for how
> classes know how to construct themselves. I managed to figure out __call__
> is like that too. So I guess it's something that doesn't readily reveal
> itself when asked but is there if you try to use it.
>
> (or something)
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Lock acquisition by the same thread - deadlock protection

2020-03-09 Thread Souvik Dutta
Sooyyy it was not meant to you

On Tue, 10 Mar, 2020, 8:00 am Souvik Dutta,  wrote:

> This should be what you need.
> https://python-reference.readthedocs.io/en/latest/docs/functions/super.html
>
> On Tue, 10 Mar, 2020, 7:02 am Yonatan Goldschmidt, <
> yon.goldschm...@gmail.com> wrote:
>
>> I recently debugged a program hang, eventually finding out it's a
>> deadlock of a single thread,
>> resulting from my usage of 2 libraries. One of them - call it library A -
>> is reentrant & runs code in
>> GC finalizers, while the other - library B - is not reentrant at all.
>> Library B held one of its `threading.Lock` locks, and during this period,
>> GC was invoked, running
>> finalizers of library A which call back into library B, now attempting to
>> take the lock again,
>> locking the thread forever.
>>
>> Considering how relatively common this scenario might be (Python, by
>> design, can preempt any user code
>> to run some other user code, due to GC finalizers), I was surprised
>> Python code is not protected
>> from this simple type of deadlock. It makes sense that while
>> `threading.RLock` allows for recursive
>> locking, `threading.Lock` will prevent it - raising an exception if you
>> attempt it.
>>
>> I might be missing something, but why isn't it the status? Why taking a
>> `threading.Lock` twice from
>> the same thread just hangs, instead of raising a friendly exception?
>> I ran a quick search in bpo but found nothing about this topic. I also
>> tried to
>> search this mailing list but couldn't find how to, so I grepped a few
>> random archives
>> but found nothing about it.
>>
>> Would be happy if anyone could shed some light on it...
>>
>> Thanks,
>> Yonatan
>> --
>> https://mail.python.org/mailman/listinfo/python-list
>>
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Lock acquisition by the same thread - deadlock protection

2020-03-09 Thread Souvik Dutta
This should be what you need.
https://python-reference.readthedocs.io/en/latest/docs/functions/super.html

On Tue, 10 Mar, 2020, 7:02 am Yonatan Goldschmidt, <
yon.goldschm...@gmail.com> wrote:

> I recently debugged a program hang, eventually finding out it's a deadlock
> of a single thread,
> resulting from my usage of 2 libraries. One of them - call it library A -
> is reentrant & runs code in
> GC finalizers, while the other - library B - is not reentrant at all.
> Library B held one of its `threading.Lock` locks, and during this period,
> GC was invoked, running
> finalizers of library A which call back into library B, now attempting to
> take the lock again,
> locking the thread forever.
>
> Considering how relatively common this scenario might be (Python, by
> design, can preempt any user code
> to run some other user code, due to GC finalizers), I was surprised Python
> code is not protected
> from this simple type of deadlock. It makes sense that while
> `threading.RLock` allows for recursive
> locking, `threading.Lock` will prevent it - raising an exception if you
> attempt it.
>
> I might be missing something, but why isn't it the status? Why taking a
> `threading.Lock` twice from
> the same thread just hangs, instead of raising a friendly exception?
> I ran a quick search in bpo but found nothing about this topic. I also
> tried to
> search this mailing list but couldn't find how to, so I grepped a few
> random archives
> but found nothing about it.
>
> Would be happy if anyone could shed some light on it...
>
> Thanks,
> Yonatan
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Lock acquisition by the same thread - deadlock protection

2020-03-09 Thread Yonatan Goldschmidt
I recently debugged a program hang, eventually finding out it's a deadlock of a 
single thread,
resulting from my usage of 2 libraries. One of them - call it library A - is 
reentrant & runs code in
GC finalizers, while the other - library B - is not reentrant at all.
Library B held one of its `threading.Lock` locks, and during this period, GC 
was invoked, running
finalizers of library A which call back into library B, now attempting to take 
the lock again,
locking the thread forever.

Considering how relatively common this scenario might be (Python, by design, 
can preempt any user code
to run some other user code, due to GC finalizers), I was surprised Python code 
is not protected
from this simple type of deadlock. It makes sense that while `threading.RLock` 
allows for recursive
locking, `threading.Lock` will prevent it - raising an exception if you attempt 
it.

I might be missing something, but why isn't it the status? Why taking a 
`threading.Lock` twice from
the same thread just hangs, instead of raising a friendly exception?
I ran a quick search in bpo but found nothing about this topic. I also tried to
search this mailing list but couldn't find how to, so I grepped a few random 
archives
but found nothing about it.

Would be happy if anyone could shed some light on it...

Thanks,
Yonatan
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: How does the super type present itself and do lookups?

2020-03-09 Thread Adam Preble
On Wednesday, March 4, 2020 at 11:13:20 AM UTC-6, Adam Preble wrote:
> Stuff

I'm speculating that the stuff I don't see when poking are reserved slots. I 
figured out how much of a thing that is when I was digging around for how 
classes know how to construct themselves. I managed to figure out __call__ is 
like that too. So I guess it's something that doesn't readily reveal itself 
when asked but is there if you try to use it.

(or something)
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Error while installing a python code

2020-03-09 Thread Barry Scott



> On 9 Mar 2020, at 14:18, Tim Ko  wrote:
> 
> Hello,
> 
> I am trying to install a custom Python code but ran into an error. The error 
> presumably associated with cython. I tried a different compiler since Intel 
> compiler often crashes when using cython, but couldn't get it working.
> 
> Attached is the installation error log. I have installed and updated all 
> essential packages such as numpy and scipy. Could someone please give me 
> advice to resolve this issue? Many thanks in advance.
> 
> Sincerely,
> TK

My guess is that this is code that only supports python 2.
Check with the author that python 3 is supported.

Barry



> 
> 
> ===
> $ python setup.py build_ext -b PoissonSolver/
> running build_ext
> skipping 'PoissonSolver/MV_2D_cy/matvec2D.c' Cython extension (up-to-date)
> skipping 'PoissonSolver/MV_1D_cy/matvec1D.c' Cython extension (up-to-date)
> skipping 'PoissonSolver/PS_3D_cy/ps3d.c' Cython extension (up-to-date)
> building 'matvec2D' extension
> icc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC 
> -I/home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include
>  -I/home01/r782a03/.conda/envs/hko_env/include/python3.7m -c 
> PoissonSolver/MV_2D_cy/matvec2D.c -o 
> build/temp.linux-x86_64-3.7/PoissonSolver/MV_2D_cy/matvec2D.o -ffast-math
> icc: command line warning #10006: ignoring unknown option '-ffast-math'
> In file included from 
> /home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h(1830),
> from 
> /home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h(12),
> from 
> /home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h(4),
> from PoissonSolver/MV_2D_cy/matvec2D.c(232):
> /home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h(17):
>  warning #1224: #warning directive: "Using deprecated NumPy API, disable it 
> with "  "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
>  #warning "Using deprecated NumPy API, disable it with " \
>   ^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17500): error: struct "_ts" has no field 
> "exc_type"
>  *type = tstate->exc_type;
>  ^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17501): error: struct "_ts" has no field 
> "exc_value"
>  *value = tstate->exc_value;
>   ^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17502): error: struct "_ts" has no field 
> "exc_traceback"
>  *tb = tstate->exc_traceback;
>^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17514): error: struct "_ts" has no field 
> "exc_type"
>  tmp_type = tstate->exc_type;
> ^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17515): error: struct "_ts" has no field 
> "exc_value"
>  tmp_value = tstate->exc_value;
>  ^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17516): error: struct "_ts" has no field 
> "exc_traceback"
>  tmp_tb = tstate->exc_traceback;
>   ^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17517): error: struct "_ts" has no field 
> "exc_type"
>  tstate->exc_type = type;
>  ^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17518): error: struct "_ts" has no field 
> "exc_value"
>  tstate->exc_value = value;
>  ^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17519): error: struct "_ts" has no field 
> "exc_traceback"
>  tstate->exc_traceback = tb;
>  ^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17562): error: struct "_ts" has no field 
> "exc_type"
>  tmp_type = tstate->exc_type;
> ^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17563): error: struct "_ts" has no field 
> "exc_value"
>  tmp_value = tstate->exc_value;
>  ^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17564): error: struct "_ts" has no field 
> "exc_traceback"
>  tmp_tb = tstate->exc_traceback;
>   ^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17565): error: struct "_ts" has no field 
> "exc_type"
>  tstate->exc_type = local_type;
>  ^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17566): error: struct "_ts" has no field 
> "exc_value"
>  tstate->exc_value = local_value;
>  ^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17567): error: struct "_ts" has no field 
> "exc_traceback"
>  tstate->exc_traceback = local_tb;
>  ^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17589): error: struct "_ts" has no field 
> "exc_type"
>  tmp_type = tstate->exc_type;
> ^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17590): error: struct "_ts" has no field 
> "exc_value"
>  tmp_value = tstate->exc_value;
>  ^
> 
> PoissonSolver/MV_2D_cy/matvec2D.c(17591): error: struct "_ts" has no field 
> "exc_traceback"
>  tmp_tb = tstate-

Re: Python download for windows

2020-03-09 Thread Terry Reedy

On 3/9/2020 6:16 AM, Mike Dewhirst wrote:

Python isn't an ordinary program as understood by (most) Windows users.
It needs a command-prompt in which to run interactively.


Or, one can click the lower left Windows Start icon, find and click 
'Python 3.8' (for instance) under 'P', and select either 'IDLE (Python 
3.8)', which I recommend for beginners*, or 'Python 3.8'.  Still, one 
should eventually learn to use Command-Prompt, but some schools do not 
teach it and one can work for years without it.


* On the IDLE menu, select Help and IDLE Help for the doc.


--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list


Re: Error while installing a python code

2020-03-09 Thread Dieter Maurer
Tim Ko wrote at 2020-3-9 07:18 -0700:
>I am trying to install a custom Python code but ran into an error. The error 
>presumably associated with cython. I tried a different compiler since Intel 
>compiler often crashes when using cython, but couldn't get it working.

Almost surely, the compiler is not to blame.
>Attached is the installation error log. I have installed and updated all 
>essential packages such as numpy and scipy. Could someone please give me 
>advice to resolve this issue? Many thanks in advance.
>
>Sincerely,
>TK
>
>
>===
>$ python setup.py build_ext -b PoissonSolver/
> ...
>skipping 'PoissonSolver/PS_3D_cy/ps3d.c' Cython extension (up-to-date)
>building 'matvec2D' extension
>icc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC 
>-I/home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include
> -I/home01/r782a03/.conda/envs/hko_env/include/python3.7m -c 
>PoissonSolver/MV_2D_cy/matvec2D.c -o 
>build/temp.linux-x86_64-3.7/PoissonSolver/MV_2D_cy/matvec2D.o -ffast-math
> ...
>PoissonSolver/MV_2D_cy/matvec2D.c(17500): error: struct "_ts" has no field 
>"exc_type"
>  *type = tstate->exc_type;

Errors like this often indicate some version conflict.

The "matvec2D" source obviously expects "_ts" to have a field "exc_type"
but the compiler knows nothing about it.

I know at least 2 reasons for such a situation:

 * the source expects a different (newer or older) version of a dependency

 * the available headers (for a dependency) are out of date.


I have also seen similar errors in a case, when "cython" was
not installed. In this case, the distribution came with
pre-"cythonized" C sources, inadequate for my system. Installing
"cython" solved this problem. You might face a similar
situation: while "cython" is (likely) installed, the C source might
wrongly seem up-to-date. You could try to delete it and retry.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Please solve this problem

2020-03-09 Thread Grant Edwards
On 2020-03-09, David Raymond  wrote:
>> It was a problem and it was solved.
>> Check the second or third e-mail in the thread.
>> 
>> Thank you.
>
> The first email was blank,
>
> The second email was from the same person and just said "Rply if solved"
>
> The third was a sarcastic reply to the blank emails with just: "Solved, 
> answer is:"
>
> The fourth was Wildman trying to helpfully let them know nothing came through.
>
> And the fifth was you saying there was both a problem and a solution.

It's always September _somewhere_.

-- 
Grant Edwards   grant.b.edwardsYow! I'm GLAD I
  at   remembered to XEROX all
  gmail.commy UNDERSHIRTS!!

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Please solve this problem

2020-03-09 Thread Igor Korot
Hi,

On Mon, Mar 9, 2020 at 11:56 AM David Raymond  wrote:
>
> > It was a problem and it was solved.
> > Check the second or third e-mail in the thread.
> >
> > Thank you.
>
> The first email was blank,
>
> The second email was from the same person and just said "Rply if solved"
>
> The third was a sarcastic reply to the blank emails with just: "Solved, 
> answer is:"

I was talking about this one.
And just bcause I didn't put a smiley, doesn't mean it is not sarcastic either.

;-)

Thank you.

>
> The fourth was Wildman trying to helpfully let them know nothing came through.
>
> And the fifth was you saying there was both a problem and a solution.
>
> So where is either the problem or solution you speak of?
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Error while installing a python code

2020-03-09 Thread Dieter Maurer
Tim Ko wrote at 2020-3-9 07:18 -0700:
>I am trying to install a custom Python code but ran into an error. The error 
>presumably associated with cython. I tried a different compiler since Intel 
>compiler often crashes when using cython, but couldn't get it working.

Almost surely, the compiler is not to blame.
>Attached is the installation error log. I have installed and updated all 
>essential packages such as numpy and scipy. Could someone please give me 
>advice to resolve this issue? Many thanks in advance.
>
>Sincerely,
>TK
>
>
>===
>$ python setup.py build_ext -b PoissonSolver/
> ...
>skipping 'PoissonSolver/PS_3D_cy/ps3d.c' Cython extension (up-to-date)
>building 'matvec2D' extension
>icc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC 
>-I/home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include
> -I/home01/r782a03/.conda/envs/hko_env/include/python3.7m -c 
>PoissonSolver/MV_2D_cy/matvec2D.c -o 
>build/temp.linux-x86_64-3.7/PoissonSolver/MV_2D_cy/matvec2D.o -ffast-math
> ...
>PoissonSolver/MV_2D_cy/matvec2D.c(17500): error: struct "_ts" has no field 
>"exc_type"
>  *type = tstate->exc_type;

Errors like this often indicate some version conflict.

The "matvec2D" source obviously expects "_ts" to have a field "exc_type"
but the compiler knows nothing about it.

I know at least 2 reasons for such a situation:

 * the source expects a different (newer or older) version of a dependency

 * the available headers (for a dependency) are out of date.


I have also seen similar errors in a case, when "cython" was
not installed. In this case, the distribution came with
pre-"cythonized" C sources, inadequate for my system. Installing
"cython" solved this problem. You might face a similar
situation: while "cython" is (likely) installed, the C source might
wrongly seem up-to-date. You could try to delete it and retry.
-- 
https://mail.python.org/mailman/listinfo/python-list


RE: Please solve this problem

2020-03-09 Thread David Raymond
> It was a problem and it was solved.
> Check the second or third e-mail in the thread.
> 
> Thank you.

The first email was blank,

The second email was from the same person and just said "Rply if solved"

The third was a sarcastic reply to the blank emails with just: "Solved, answer 
is:"

The fourth was Wildman trying to helpfully let them know nothing came through.

And the fifth was you saying there was both a problem and a solution.

So where is either the problem or solution you speak of?
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: [Python-ideas] Re: Possible Addition to Python Language: Marked Sub-condition

2020-03-09 Thread David Mertz
This isn't a terrible use of the walrus operator either.

if blue_20 := (color==BLUE and count==20) or red_5 := (color==RED and
count%5==0)
rotate_the_wheel() # Common to the two sub-conditions
if blue_20: # First sub-condition
set_signal()
if red_5: # Second sub-condition
clear_signal()
proc_post_rotate() # Common to the two sub-conditions



On Sun, Mar 8, 2020 at 12:02 PM Paul Moore  wrote:

> On Sun, 8 Mar 2020 at 15:02, Shrinivas Kulkarni 
> wrote:
> >
> > Hello Everyone
> >
> > While writing python code, I frequently come across the need to do
> > certain tasks based on combined conditions.
> >
> > Much of the task for all the sub-conditions are common but some are
> > specific to one or more of these sub-conditions.
> >
> > A simplified example:
> >
> > ## Code ##
> > if (color == BLUE and count == 20) or (color == RED and count % 5 == 0):
> > rotate_the_wheel() # Common to the two sub-conditions
> > if(color == BLUE and count == 20): # First sub-condition
> > set_signal()
> > if(color == RED and count % 5 == 0): # Second sub-condition
> > clear_signal()
> > proc_post_rotate() # Common to the two sub-conditions
> >
> > I am not sure if there is a better way to do this. If not, maybe there
> > can be an extension to the language, which would allow marking a
> > sub-condition just like we mark a sub-expression in a regular
> > expression.
>
> I would have thought that simply naming the sub-conditions would be
> sufficient.
>
> blue_20 = (color == BLUE and count == 20)
> red_5 = (color == RED and count % 5 == 0)
> if blue_20 or red_5:
> rotate_the_wheel() # Common to the two sub-conditions
> if blue_20: # First sub-condition
> set_signal()
> if red_5: # Second sub-condition
> clear_signal()
> proc_post_rotate() # Common to the two sub-conditions
>
> I don't know how experienced you are with Python programming, but if
> you had framed your question as "how do I modify this code to avoid
> repeating the conditions?" you would likely have been given this
> advice on the python-list mailinglist, or other similar Python
> programming help resources.
>
> Starting with a proposed language change before you've explored the
> existing options isn't likely to be the best approach (and would
> likely have meant you could resolve your issue without needing to
> bring it to python-ideas at all).
>
> Paul
> ___
> Python-ideas mailing list -- python-id...@python.org
> To unsubscribe send an email to python-ideas-le...@python.org
> https://mail.python.org/mailman3/lists/python-ideas.python.org/
> Message archived at
> https://mail.python.org/archives/list/python-id...@python.org/message/3M2BOILT7FBGGJBFECZZKDSTHRKDANCA/
> Code of Conduct: http://python.org/psf/codeofconduct/
>


-- 
Keeping medicines from the bloodstreams of the sick; food
from the bellies of the hungry; books from the hands of the
uneducated; technology from the underdeveloped; and putting
advocates of freedom in prisons.  Intellectual property is
to the 21st century what the slave trade was to the 16th.
-- 
https://mail.python.org/mailman/listinfo/python-list


RE: Python download for windows

2020-03-09 Thread Mike Dewhirst
HilaryPython isn't an ordinary program as understood by (most) Windows users.It 
needs a command-prompt in which to run interactively. In other words, after 
successful installation, open a command prompt (aka DOS prompt) and type 
"python". It should open, announce itself and display its characteristic prompt 
>>>Your daughter will write programs in files with names. If a file has an 
extension .py and it is double-clicked (when seen in its directory/folder in 
Windows explorer) it will be executed by Windows using the installed Python. 
You don't have to worry. That is your daughter's problem.You really should 
adjust Windows explorer so it doesn't hide file extensions. Hope this 
helpsCheersMike
 Original message From: Hilary Ilsley 
 Date: 9/3/20  20:08  (GMT+10:00) To: 
python-list@python.org Subject: Python download for windows HelloWe have been 
asked to download python so our daughter can complete her homework, only once 
we have down loaded it keeps going to "set up" and even after completing 
"modify" or "repair" it goes back to set 
up.https://www.python.org/downloads/release/python-382/ -this is what we have 
downloaded.Any advice?Hilary IlsleyBSc (Jnt Hons) MSc CBiol MSB SiLCAssociate 
(Geo-environmental Scientist)[A close up of a sign  Description automatically 
generated]Brighouse * Chesham * Glasgow * 
Hartlepool * Leamington Spa * SheffieldMarlborough House, 48 Holly Walk, 
Leamington Spa, CV32 4XPt: 01926 889955  w: 
jnpgroup.co.uk[cid:image002.jpg@01D5F540.BF6B4CD0][cid:image003.png@01D5F540.BF6B4CD0][cid:image004.png@01D5F540.BF6B4CD0][twitter]
   [cid:image006.jpg@01D5F540.BF6B4CD0] 
This message, including 
any attachments, is strictly confidential, protected by law, and is intended 
solely for the use of the individual or entity to whom it is addressed. If you 
are not the intended recipient, be advised that you have received this message 
in error, and that any use, dissemination, forwarding, printing, alteration or 
copying of this e-mail and any attachments is strictly prohibited and we will 
not be liable for any direct, special, indirect or consequential loss/damages 
arising from any action taken or omitted to be taken in reliance on it or any 
alteration of the contents of this message by you or any third party. If you 
have received this e-mail in error, please contact the sender immediately. The 
views expressed in this email are not necessarily the views of JNP Group, its 
owners or employees and makes no representation or accepts any liability for 
its accuracy or completeness unless expressly stated to the contrary.We have 
made every effort to ensure that emails and any attachments generated are free 
from viruses. However, we cannot accept any responsibility for any viruses 
which are transmitted. We recommend that you scan all attachments.Use of your 
personal information: JNP Group takes data protection very seriously and the 
privacy notice that will apply to our use of your personal information can be 
found at 
http://www.jnpgroup.co.uk/wp-content/uploads/2018/06/JNP-Group-Data-Privacy-Notice.pdf--
 https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Error while installing a python code

2020-03-09 Thread Souvik Dutta
I dont know if this will work.
But still something is better than nothing.
https://stackoverflow.com/questions/11094718/error-command-gcc-failed-with-exit-status-1-while-installing-eventlet

I am not a "spoofer" in case you get any warning.

On Mon, Mar 9, 2020, 7:54 PM Tim Ko  wrote:

> Hello,
>
> I am trying to install a custom Python code but ran into an error. The
> error presumably associated with cython. I tried a different compiler since
> Intel compiler often crashes when using cython, but couldn't get it working.
>
> Attached is the installation error log. I have installed and updated all
> essential packages such as numpy and scipy. Could someone please give me
> advice to resolve this issue? Many thanks in advance.
>
> Sincerely,
> TK
>
>
> ===
> $ python setup.py build_ext -b PoissonSolver/
> running build_ext
> skipping 'PoissonSolver/MV_2D_cy/matvec2D.c' Cython extension (up-to-date)
> skipping 'PoissonSolver/MV_1D_cy/matvec1D.c' Cython extension (up-to-date)
> skipping 'PoissonSolver/PS_3D_cy/ps3d.c' Cython extension (up-to-date)
> building 'matvec2D' extension
> icc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC
> -I/home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include
> -I/home01/r782a03/.conda/envs/hko_env/include/python3.7m -c
> PoissonSolver/MV_2D_cy/matvec2D.c -o
> build/temp.linux-x86_64-3.7/PoissonSolver/MV_2D_cy/matvec2D.o -ffast-math
> icc: command line warning #10006: ignoring unknown option '-ffast-math'
> In file included from
> /home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h(1830),
>  from
> /home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h(12),
>  from
> /home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h(4),
>  from PoissonSolver/MV_2D_cy/matvec2D.c(232):
> /home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h(17):
> warning #1224: #warning directive: "Using deprecated NumPy API, disable it
> with "  "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
>   #warning "Using deprecated NumPy API, disable it with " \
>^
>
> PoissonSolver/MV_2D_cy/matvec2D.c(17500): error: struct "_ts" has no field
> "exc_type"
>   *type = tstate->exc_type;
>   ^
>
> PoissonSolver/MV_2D_cy/matvec2D.c(17501): error: struct "_ts" has no field
> "exc_value"
>   *value = tstate->exc_value;
>^
>
> PoissonSolver/MV_2D_cy/matvec2D.c(17502): error: struct "_ts" has no field
> "exc_traceback"
>   *tb = tstate->exc_traceback;
> ^
>
> PoissonSolver/MV_2D_cy/matvec2D.c(17514): error: struct "_ts" has no field
> "exc_type"
>   tmp_type = tstate->exc_type;
>  ^
>
> PoissonSolver/MV_2D_cy/matvec2D.c(17515): error: struct "_ts" has no field
> "exc_value"
>   tmp_value = tstate->exc_value;
>   ^
>
> PoissonSolver/MV_2D_cy/matvec2D.c(17516): error: struct "_ts" has no field
> "exc_traceback"
>   tmp_tb = tstate->exc_traceback;
>^
>
> PoissonSolver/MV_2D_cy/matvec2D.c(17517): error: struct "_ts" has no field
> "exc_type"
>   tstate->exc_type = type;
>   ^
>
> PoissonSolver/MV_2D_cy/matvec2D.c(17518): error: struct "_ts" has no field
> "exc_value"
>   tstate->exc_value = value;
>   ^
>
> PoissonSolver/MV_2D_cy/matvec2D.c(17519): error: struct "_ts" has no field
> "exc_traceback"
>   tstate->exc_traceback = tb;
>   ^
>
> PoissonSolver/MV_2D_cy/matvec2D.c(17562): error: struct "_ts" has no field
> "exc_type"
>   tmp_type = tstate->exc_type;
>  ^
>
> PoissonSolver/MV_2D_cy/matvec2D.c(17563): error: struct "_ts" has no field
> "exc_value"
>   tmp_value = tstate->exc_value;
>   ^
>
> PoissonSolver/MV_2D_cy/matvec2D.c(17564): error: struct "_ts" has no field
> "exc_traceback"
>   tmp_tb = tstate->exc_traceback;
>^
>
> PoissonSolver/MV_2D_cy/matvec2D.c(17565): error: struct "_ts" has no field
> "exc_type"
>   tstate->exc_type = local_type;
>   ^
>
> PoissonSolver/MV_2D_cy/matvec2D.c(17566): error: struct "_ts" has no field
> "exc_value"
>   tstate->exc_value = local_value;
>   ^
>
> PoissonSolver/MV_2D_cy/matvec2D.c(17567): error: struct "_ts" has no field
> "exc_traceback"
>   tstate->exc_traceback = local_tb;
>   ^
>
> PoissonSolver/MV_2D_cy/matvec2D.c(17589): error: struct "_ts" has no field
> "exc_type"
>   tmp_type = tstate->exc_type;
>  ^
>
> PoissonSolver/MV_2D_cy/matvec2D.c(17590): error: struct "_ts" has no field
> "exc_value"
>   tmp_value = tstate->exc_value;
>   ^
>
> PoissonSolve

Re: pip UX Studies - help improve the usability of pip

2020-03-09 Thread Paul Moore
We've had some questions as to whether this survey is legitimate. I
can confirm it is (speaking as a pip core developer). The link to a
page describing this work is
https://pyfound.blogspot.com/2019/12/moss-czi-support-pip.html, if
anyone wants to find out more.

Paul Moore

On Sat, 7 Mar 2020 at 01:49, Bernard Tyers - Sane UX Design
 wrote:
>
> Hi there,
>
> My name is Bernard Tyers. I'm a UX designer and have recently started
> working on the PSF project to improve the usability of pip, funded by
> MOSS/CZI.
>
> I want to let you know about the pip UX Studies we've started today, and
> encourage you to sign-up and take part.
>
> The pip Team is looking for Python users who use pip to take part in our
> UX Studies. Your input will have a direct impact on improving pip.
>
> We want to speak with as diverse a group as possible. We'd particularly
> like to speak with people with accessibility needs.
>
> You _don't_ have to be a Python expert to take part - I can't stress
> this enough!
>
> You can find out all the details you'll need and find the sign-up link
> on this blogpost:
>
> http://www.ei8fdb.org/thoughts/2020/03/pip-ux-study-recruitment/
>
> If you do have questions I've not answered there, let me know.
>
> We'd also appreciate some signal boosting to reach as wide an audience
> as possible. Please share the blog post with people in different Python
> using communities.
>
> If you're a Twitter/Mastodon user we'd appreciate a signal boost of
> these also:
>
> https://twitter.com/bernardtyers/status/123603961730017
> https://social.ei8fdb.org/@bernard/103778645553767728
>
>
> Thank you for your attention!
>
> Best wishes,
>
> Bernard
> --
>
> Bernard Tyers, User research & Interaction Design
>
> T: @bernardtyers
> M: @bern...@social.ei8fdb.org
> PGP Key: keybase.io/ei8fdb
>
>
> I work on User-Centred Design, Open Source Software and Privacy.
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Please solve this problem

2020-03-09 Thread Igor Korot
Hi,

On Mon, Mar 9, 2020 at 9:22 AM Wildman via Python-list
 wrote:
>
> On Mon, 09 Mar 2020 11:47:24 +0530, sachin thakur wrote:
>
> What is the problem?  If you attached a screenshot to your post
> it was dropped.  This is a text only group.  Explain the problem
> or put the screenshot on a cloud site such as Dropbox and post
> the link.

It was a problem and it was solved.
Check the second or third e-mail in the thread.

Thank you.

>
> --
>  GNU/Linux user #557453
> The cow died so I don't need your bull!
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Error while installing a python code

2020-03-09 Thread Tim Ko
Hello,

I am trying to install a custom Python code but ran into an error. The error 
presumably associated with cython. I tried a different compiler since Intel 
compiler often crashes when using cython, but couldn't get it working.

Attached is the installation error log. I have installed and updated all 
essential packages such as numpy and scipy. Could someone please give me advice 
to resolve this issue? Many thanks in advance.

Sincerely,
TK


===
$ python setup.py build_ext -b PoissonSolver/
running build_ext
skipping 'PoissonSolver/MV_2D_cy/matvec2D.c' Cython extension (up-to-date)
skipping 'PoissonSolver/MV_1D_cy/matvec1D.c' Cython extension (up-to-date)
skipping 'PoissonSolver/PS_3D_cy/ps3d.c' Cython extension (up-to-date)
building 'matvec2D' extension
icc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC 
-I/home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include
 -I/home01/r782a03/.conda/envs/hko_env/include/python3.7m -c 
PoissonSolver/MV_2D_cy/matvec2D.c -o 
build/temp.linux-x86_64-3.7/PoissonSolver/MV_2D_cy/matvec2D.o -ffast-math
icc: command line warning #10006: ignoring unknown option '-ffast-math'
In file included from 
/home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h(1830),
 from 
/home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h(12),
 from 
/home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h(4),
 from PoissonSolver/MV_2D_cy/matvec2D.c(232):
/home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h(17):
 warning #1224: #warning directive: "Using deprecated NumPy API, disable it 
with "  "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
  #warning "Using deprecated NumPy API, disable it with " \
   ^

PoissonSolver/MV_2D_cy/matvec2D.c(17500): error: struct "_ts" has no field 
"exc_type"
  *type = tstate->exc_type;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17501): error: struct "_ts" has no field 
"exc_value"
  *value = tstate->exc_value;
   ^

PoissonSolver/MV_2D_cy/matvec2D.c(17502): error: struct "_ts" has no field 
"exc_traceback"
  *tb = tstate->exc_traceback;
^

PoissonSolver/MV_2D_cy/matvec2D.c(17514): error: struct "_ts" has no field 
"exc_type"
  tmp_type = tstate->exc_type;
 ^

PoissonSolver/MV_2D_cy/matvec2D.c(17515): error: struct "_ts" has no field 
"exc_value"
  tmp_value = tstate->exc_value;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17516): error: struct "_ts" has no field 
"exc_traceback"
  tmp_tb = tstate->exc_traceback;
   ^

PoissonSolver/MV_2D_cy/matvec2D.c(17517): error: struct "_ts" has no field 
"exc_type"
  tstate->exc_type = type;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17518): error: struct "_ts" has no field 
"exc_value"
  tstate->exc_value = value;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17519): error: struct "_ts" has no field 
"exc_traceback"
  tstate->exc_traceback = tb;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17562): error: struct "_ts" has no field 
"exc_type"
  tmp_type = tstate->exc_type;
 ^

PoissonSolver/MV_2D_cy/matvec2D.c(17563): error: struct "_ts" has no field 
"exc_value"
  tmp_value = tstate->exc_value;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17564): error: struct "_ts" has no field 
"exc_traceback"
  tmp_tb = tstate->exc_traceback;
   ^

PoissonSolver/MV_2D_cy/matvec2D.c(17565): error: struct "_ts" has no field 
"exc_type"
  tstate->exc_type = local_type;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17566): error: struct "_ts" has no field 
"exc_value"
  tstate->exc_value = local_value;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17567): error: struct "_ts" has no field 
"exc_traceback"
  tstate->exc_traceback = local_tb;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17589): error: struct "_ts" has no field 
"exc_type"
  tmp_type = tstate->exc_type;
 ^

PoissonSolver/MV_2D_cy/matvec2D.c(17590): error: struct "_ts" has no field 
"exc_value"
  tmp_value = tstate->exc_value;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17591): error: struct "_ts" has no field 
"exc_traceback"
  tmp_tb = tstate->exc_traceback;
   ^

PoissonSolver/MV_2D_cy/matvec2D.c(17592): error: struct "_ts" has no field 
"exc_type"
  tstate->exc_type = *type;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17593): error: struct "_ts" has no field 
"exc_value"
  tstate->exc_value = *value;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17594): error: struct "_ts" has n

Re: Please solve this problem

2020-03-09 Thread Wildman via Python-list
On Mon, 09 Mar 2020 11:47:24 +0530, sachin thakur wrote:

What is the problem?  If you attached a screenshot to your post
it was dropped.  This is a text only group.  Explain the problem
or put the screenshot on a cloud site such as Dropbox and post
the link.

-- 
 GNU/Linux user #557453
The cow died so I don't need your bull!
-- 
https://mail.python.org/mailman/listinfo/python-list


Installation of python

2020-03-09 Thread Tim Ko
Hello,

I am trying to install a custom Python package but ran into an error. The error 
presumably associated with cython. I tried a different compiler since Intel 
compiler often crashes when using cython, but couldn't get it working. 

Attached is the installation error log. I have installed and updated all 
essential packages such as numpy and scipy. Could someone please give me advice 
to resolve this issue? Many thanks in advance.

Sincerely,
TK


===
$ python setup.py build_ext -b PoissonSolver/
running build_ext
skipping 'PoissonSolver/MV_2D_cy/matvec2D.c' Cython extension (up-to-date)
skipping 'PoissonSolver/MV_1D_cy/matvec1D.c' Cython extension (up-to-date)
skipping 'PoissonSolver/PS_3D_cy/ps3d.c' Cython extension (up-to-date)
building 'matvec2D' extension
icc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC 
-I/home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include
 -I/home01/r782a03/.conda/envs/hko_env/include/python3.7m -c 
PoissonSolver/MV_2D_cy/matvec2D.c -o 
build/temp.linux-x86_64-3.7/PoissonSolver/MV_2D_cy/matvec2D.o -ffast-math
icc: command line warning #10006: ignoring unknown option '-ffast-math'
In file included from 
/home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h(1830),
 from 
/home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h(12),
 from 
/home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h(4),
 from PoissonSolver/MV_2D_cy/matvec2D.c(232):
/home01/r782a03/.conda/envs/hko_env/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h(17):
 warning #1224: #warning directive: "Using deprecated NumPy API, disable it 
with "  "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
  #warning "Using deprecated NumPy API, disable it with " \
   ^

PoissonSolver/MV_2D_cy/matvec2D.c(17500): error: struct "_ts" has no field 
"exc_type"
  *type = tstate->exc_type;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17501): error: struct "_ts" has no field 
"exc_value"
  *value = tstate->exc_value;
   ^

PoissonSolver/MV_2D_cy/matvec2D.c(17502): error: struct "_ts" has no field 
"exc_traceback"
  *tb = tstate->exc_traceback;
^

PoissonSolver/MV_2D_cy/matvec2D.c(17514): error: struct "_ts" has no field 
"exc_type"
  tmp_type = tstate->exc_type;
 ^

PoissonSolver/MV_2D_cy/matvec2D.c(17515): error: struct "_ts" has no field 
"exc_value"
  tmp_value = tstate->exc_value;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17516): error: struct "_ts" has no field 
"exc_traceback"
  tmp_tb = tstate->exc_traceback;
   ^

PoissonSolver/MV_2D_cy/matvec2D.c(17517): error: struct "_ts" has no field 
"exc_type"
  tstate->exc_type = type;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17518): error: struct "_ts" has no field 
"exc_value"
  tstate->exc_value = value;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17519): error: struct "_ts" has no field 
"exc_traceback"
  tstate->exc_traceback = tb;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17562): error: struct "_ts" has no field 
"exc_type"
  tmp_type = tstate->exc_type;
 ^

PoissonSolver/MV_2D_cy/matvec2D.c(17563): error: struct "_ts" has no field 
"exc_value"
  tmp_value = tstate->exc_value;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17564): error: struct "_ts" has no field 
"exc_traceback"
  tmp_tb = tstate->exc_traceback;
   ^

PoissonSolver/MV_2D_cy/matvec2D.c(17565): error: struct "_ts" has no field 
"exc_type"
  tstate->exc_type = local_type;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17566): error: struct "_ts" has no field 
"exc_value"
  tstate->exc_value = local_value;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17567): error: struct "_ts" has no field 
"exc_traceback"
  tstate->exc_traceback = local_tb;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17589): error: struct "_ts" has no field 
"exc_type"
  tmp_type = tstate->exc_type;
 ^

PoissonSolver/MV_2D_cy/matvec2D.c(17590): error: struct "_ts" has no field 
"exc_value"
  tmp_value = tstate->exc_value;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17591): error: struct "_ts" has no field 
"exc_traceback"
  tmp_tb = tstate->exc_traceback;
   ^

PoissonSolver/MV_2D_cy/matvec2D.c(17592): error: struct "_ts" has no field 
"exc_type"
  tstate->exc_type = *type;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17593): error: struct "_ts" has no field 
"exc_value"
  tstate->exc_value = *value;
  ^

PoissonSolver/MV_2D_cy/matvec2D.c(17594): error: struct "_ts" h

Re: Python download for windows

2020-03-09 Thread Bob Gailer
:> You talk only about downloading - and the link you gave leads to the
download page as a whole, so we can't guess the OS you - or your daughter -
use.

the subject line explicitly states "download for Windows"

Bob Gailer
-- 
https://mail.python.org/mailman/listinfo/python-list


EuroPython 2020: Call for Proposals now open

2020-03-09 Thread M.-A. Lemburg
We have opened the Call for Proposals today. It will be left open for
three weeks and then close on:

Sunday, March 29 23:59:59 CEST

In order to submit a proposal, please log in to the site (or create an
account first) and then proceed to the CFP page:


 * https://ep2020.europython.eu/call-for-proposals/ *


We’re looking for proposals on every aspect of Python: all levels of
programming from novice to advanced, applications, frameworks, data
science, Python projects, internals or topics which you’re excited
about, your experiences with Python and its ecosystem, creative or
artistic things you’ve done with Python, to name a few.

EuroPython is a community conference and we are eager to hear about
your use of Python.

Since feedback shows that our audience is very interested in advanced
topics, we’d appreciate more entries in this category for EuroPython
2020.

Please help spread word about Call for Proposals to anyone who might
be interested. Thanks.


Help spread the word


Please help us spread this message by sharing it on your social
networks as widely as possible. Thank you !

Link to the blog post:

https://blog.europython.eu/post/612113768932098048/europython-2020-call-for-proposals-now-open

Tweet:

https://twitter.com/europython/status/1236995749273092102


Enjoy,
--
EuroPython 2020 Team
https://ep2020.europython.eu/
https://www.europython-society.org/

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python download for windows

2020-03-09 Thread Sibylle Koczian

Am 09.03.2020 um 10:08 schrieb Hilary Ilsley:

Hello

We have been asked to download python so our daughter can complete her homework, only once we have down 
loaded it keeps going to "set up" and even after completing "modify" or 
"repair" it goes back to set up.
https://www.python.org/downloads/release/python-382/ -this is what we have 
downloaded.

Any advice?



Sorry, no advice, we'd need more information. Main questions:

You talk only about downloading - and the link you gave leads to the 
download page as a whole, so we can't guess the OS you - or your 
daughter - use.


One guess, because that's quite a frequent problem, at least on Windows: 
did you perhaps try to start the installer a second time instead of 
Python itself? The symptoms you describe would fit this case.


Some possibly helpful links:

https://docs.python.org/3/faq/windows.html

That's still supposing your daughter uses Windows. If yes, then the 
first entry might be enough to get her started.


https://docs.python.org/3/using/index.html

More about installing and using Python on Linux, Windows and Mac. If 
it's Windows then perhaps the Microsoft Store package might be easier to 
use? I don't know it myself, but the description looks promising.


HTH
Sibylle


--
https://mail.python.org/mailman/listinfo/python-list


Re: Python download for windows

2020-03-09 Thread Bob Gailer
On Mar 9, 2020 5:22 AM, "Hilary Ilsley" 
wrote:
>
> Hello
>
> We have been asked to download python so our daughter can complete her
homework, only once we have down loaded it keeps going to "set up" and even
after completing "modify" or "repair" it goes back to set up.

You're getting that response because you are re-running the installer
rather than running python.

Take a look at
https://docs.python.org/3/tutorial/interpreter.html#invoking-the-interpreter

There is a section explicitly for Windows.
Whoever asked you to download python has made the incorrect assumption that
you could figure out what to do. That's not your fault. You might want to
tell them about your experience and ask them for guidance.

regarding email list etiquette: note that I have trimmed all the excess
from your post and have responded in line rather than what we call Top
posting.

Please feel free to post here telling us what you've done and what that's
gotten you. We are here to help and we are also volunteers which means we
help as we can.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Please solve this problem

2020-03-09 Thread Omar Abou Mrad
On Mon, Mar 9, 2020 at 11:21 AM sachin thakur 
wrote:

> Rply if solved
>
> <..snip..>


Solved, answer is:
-- 
https://mail.python.org/mailman/listinfo/python-list


Python download for windows

2020-03-09 Thread Hilary Ilsley
Hello

We have been asked to download python so our daughter can complete her 
homework, only once we have down loaded it keeps going to "set up" and even 
after completing "modify" or "repair" it goes back to set up.
https://www.python.org/downloads/release/python-382/ -this is what we have 
downloaded.

Any advice?


Hilary Ilsley
BSc (Jnt Hons) MSc CBiol MSB SiLC
Associate (Geo-environmental Scientist)

[A close up of a sign  Description automatically 
generated]

Brighouse * Chesham * Glasgow * Hartlepool * Leamington Spa * Sheffield

Marlborough House, 48 Holly Walk, Leamington Spa, CV32 4XP
t: 01926 889955  w: jnpgroup.co.uk

[cid:image002.jpg@01D5F540.BF6B4CD0][cid:image003.png@01D5F540.BF6B4CD0][cid:image004.png@01D5F540.BF6B4CD0][twitter]
   [cid:image006.jpg@01D5F540.BF6B4CD0] 


This message, including any attachments, is strictly confidential, protected by 
law, and is intended solely for the use of the individual or entity to whom it 
is addressed. If you are not the intended recipient, be advised that you have 
received this message in error, and that any use, dissemination, forwarding, 
printing, alteration or copying of this e-mail and any attachments is strictly 
prohibited and we will not be liable for any direct, special, indirect or 
consequential loss/damages arising from any action taken or omitted to be taken 
in reliance on it or any alteration of the contents of this message by you or 
any third party. If you have received this e-mail in error, please contact the 
sender immediately. The views expressed in this email are not necessarily the 
views of JNP Group, its owners or employees and makes no representation or 
accepts any liability for its accuracy or completeness unless expressly stated 
to the contrary.
We have made every effort to ensure that emails and any attachments generated 
are free from viruses. However, we cannot accept any responsibility for any 
viruses which are transmitted. We recommend that you scan all attachments.
Use of your personal information: JNP Group takes data protection very 
seriously and the privacy notice that will apply to our use of your personal 
information can be found at 
http://www.jnpgroup.co.uk/wp-content/uploads/2018/06/JNP-Group-Data-Privacy-Notice.pdf



-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Please solve this problem

2020-03-09 Thread sachin thakur
Rply if solved

On Mon, 9 Mar, 2020, 11:47 AM sachin thakur, 
wrote:

>
-- 
https://mail.python.org/mailman/listinfo/python-list


Please solve this problem

2020-03-09 Thread sachin thakur


-- 
https://mail.python.org/mailman/listinfo/python-list