Re: How to uninstall Python3.7 in Windows using cmd ?

2020-03-29 Thread Mike Dewhirst
On 30/03/2020 2:55 pm, Michael Torrie wrote: On 3/29/20 6:41 PM, Mike Dewhirst wrote: I would first determine whether it is the 32 or 64 bit version which is installed. I would then visit www.python.org and download the exact same python executable installer. Don't know what msi is but it doesn'

Re: How to uninstall Python3.7 in Windows using cmd ?

2020-03-29 Thread Michael Torrie
On 3/29/20 6:41 PM, Mike Dewhirst wrote: > I would first determine whether it is the 32 or 64 bit version which is > installed. I would then visit www.python.org and download the exact same > python executable installer. Don't know what msi is but it doesn't > matter. I think it just means micro

Re: Unable to install or operate PIP on Windows 10

2020-03-29 Thread Mike Dewhirst
On 30/03/2020 9:34 am, Steven Hobbs wrote: Hi all, I have installed Python 3.7.7 on Windows 10 and I understood that pip came installed. However when I try using pip I get an unrecognised command error. I tried following the instructions on this website: https://docs.python.org/3/installing/in

Re: How to uninstall Python3.7 in Windows using cmd ?

2020-03-29 Thread Mike Dewhirst
On 29/03/2020 10:24 pm, Terry Reedy wrote: On 3/29/2020 12:17 AM, Mike Dewhirst wrote: On 29/03/2020 5:06 am, Terry Reedy wrote: On 3/27/2020 8:07 AM, deepalee khare wrote: How to Uninstall Python3.7.3 using cmd ? i tried using cmd: Msiexec /uninstall C:\Python37\python.exe But it gives me be

Re: Unable to install or operate PIP on Windows 10

2020-03-29 Thread MRAB
On 2020-03-29 23:34, Steven Hobbs wrote: Hi all, I have installed Python 3.7.7 on Windows 10 and I understood that pip came installed. However when I try using pip I get an unrecognised command error. I tried following the instructions on this website: https://docs.python.org/3/installing/ind

Unable to install or operate PIP on Windows 10

2020-03-29 Thread Steven Hobbs
Hi all, I have installed Python 3.7.7 on Windows 10 and I understood that pip came installed. However when I try using pip I get an unrecognised command error. I tried following the instructions on this website: https://docs.python.org/3/installing/index.html However usage of pip as described

RE: Confusing textwrap parameters, and request for RE help

2020-03-29 Thread Steve Smith
I am having the same issue. I can either get the text to wrap, which makes all the text wrap, or I can get the text to ignore independent '/n' characters, so that all the blank space is removed. I'd like to set up my code, so that only 1 blank space is remaining (I'll settle for none at this poi

Re: How to uninstall Python3.7 in Windows using cmd ?

2020-03-29 Thread Terry Reedy
On 3/29/2020 12:17 AM, Mike Dewhirst wrote: On 29/03/2020 5:06 am, Terry Reedy wrote: On 3/27/2020 8:07 AM, deepalee khare wrote: How to Uninstall Python3.7.3 using cmd ? i tried using cmd: Msiexec /uninstall C:\Python37\python.exe But it gives me below error: enter image description here Py

Re: super not behaving as I expected

2020-03-29 Thread Peter Otten
Antoon Pardon wrote: > > I have the following program > > class slt: > __slots__ = () > > def getslots(self): > print("### slots =", self.__slots__) > if self.__slots__ == (): > return [] > else: > ls = super().getslots() > ls.extend(self.__slots__) > return ls > > def __str__(self): > ls = []

super not behaving as I expected

2020-03-29 Thread Antoon Pardon
I have the following program class slt: __slots__ = () def getslots(self): print("### slots =", self.__slots__) if self.__slots__ == (): return [] else: ls = super().getslots()

Re: mport pytorch fails on my windows 10 PC

2020-03-29 Thread Souvik Dutta
Since it is not in the control panel, go to windows app execution aliases and scroll down till you find python. Now toggle both of them and see if this works. On Sun, Mar 29, 2020, 2:53 PM joseph pareti wrote: > All right, thx, but how to uninstall the 'other' python version? > > The control pan

Re: How to cover connection exception errors, and exit

2020-03-29 Thread Peter Otten
dcwhat...@gmail.com wrote: > Hi, > > I've tried urllib, requests, and some other options. But I haven't found > a way to trap certain urls that aren't possible to connect from, outside > the office. In those cases, I need to just output an error. > > > So, the following code will cover the 40