Re: Multiple problems with Python 3.7 under Windows 7 Home Premium

2018-09-21 Thread Terry Reedy
On 9/21/2018 8:57 PM, MRAB wrote: On 2018-09-22 01:02, Michael Torrie wrote: On 09/21/2018 07:22 AM, Spencer Graves wrote: PYTHON - M PIP INSTALL PYAUDIO    "python -m pip install pyaudio" stopped with 'error: Microsoft visual C++14.0 is required.  Get it with "Microsoft Visual C++ Build

Re: Multiple problems with Python 3.7 under Windows 7 Home Premium

2018-09-21 Thread MRAB
On 2018-09-22 01:02, Michael Torrie wrote: On 09/21/2018 07:22 AM, Spencer Graves wrote: PYTHON - M PIP INSTALL PYAUDIO   "python -m pip install pyaudio" stopped with 'error: Microsoft visual C++14.0 is required.  Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visuals

2 Bugs: in Python 3 tutorial, and in bugs.python.org tracker registration system

2018-09-21 Thread Francis Esmonde-White
Hello, I came to report one bug (in the Python 3 tutorial documentation), and ran into another (functional in bugs.python.org bug tracker registration system). I have included details for both bugs below. Thanks in advance for your assistance, I am loving Python and the documentation! Warm regar

Re: Multiple problems with Python 3.7 under Windows 7 Home Premium

2018-09-21 Thread Michael Torrie
On 09/21/2018 07:22 AM, Spencer Graves wrote: > PYTHON - M PIP INSTALL PYAUDIO > > >   "python -m pip install pyaudio" stopped with 'error: Microsoft > visual C++14.0 is required.  Get it with "Microsoft Visual C++ Build > Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools";

Re: python3.7 problem with validation - it doesnt work

2018-09-21 Thread Michael Torrie
On 09/19/2018 06:12 AM, alon.naj...@gmail.com wrote: > python3.7 problem with validation - it doesn't work. I don't know what "validation" means, but MRAB has told you why it wasn't working. My question to you is why do you need that inner function anyway? An inner function is normally used to d

Re: python3.7 error PYQT5 - NameError: name 'self' is not defined

2018-09-21 Thread Christopher Mullins
> > Hi when I disconnect the internet I get an error NameError: name 'self' is > not defined. I really dont get it.. thanks all. Is that a bug? or my fault? Exception in thread Thread-1: > Traceback (most recent call last): > File "C:\programming Alon\stock market app\PROJECT\AlonStockMarket.py"

Re: What is not working with my "map" usage?

2018-09-21 Thread Thomas Jollans
On 21/09/2018 23:29, Viet Nguyen via Python-list wrote: Hi, I want to add up all of the list elements. But when I use the "map" function, it didn't seem to work as I expect. Could someone point out how "map" can be applied here then? def add_all_elements (*args): total = 0 for i in

Re: What is not working with my "map" usage?

2018-09-21 Thread Brian Oney via Python-list
Hi Viet, map applies the function to each of the elements of the list you provide. It would be roughly equivalent to: [add_all_elements(x) for x in alist] It may help you to consider the term and function "map" from the view of linear algebra. Apparently it's a common term: https://en.wikiped

Re: Multiple problems with Python 3.7 under Windows 7 Home Premium

2018-09-21 Thread Thomas Jollans
On 21/09/2018 15:22, Spencer Graves wrote: WEBINSTALL.EXE: [...] Whatever, you managed to install Python, and it works, so everybody's happy, right? PYTHON - M PIP INSTALL PYAUDIO   "python -m pip install pyaudio" stopped with 'error: Microsoft visual C++14.0 is required.  Get it

python3.7 error PYQT5 - NameError: name 'self' is not defined

2018-09-21 Thread alon . najman
Hi when I disconnect the internet I get an error NameError: name 'self' is not defined. I really dont get it.. thanks all. Is that a bug? or my fault? Exception in thread Thread-1: Traceback (most recent call last): File "C:\programming Alon\stock market app\PROJECT\AlonStockMarket.py", line

Re: Serializing complex objects

2018-09-21 Thread Thomas Jollans
On 21/09/2018 20:44, Joseph L. Casale wrote: -Original Message- From: Python-list On Behalf Of Rhodri James Sent: Friday, September 21, 2018 11:39 AM To: python-list@python.org Subject: Re: Serializing complex objects Depending on what exactly your situation is, you may be able to use

What is not working with my "map" usage?

2018-09-21 Thread Viet Nguyen via Python-list
Hi, I want to add up all of the list elements. But when I use the "map" function, it didn't seem to work as I expect. Could someone point out how "map" can be applied here then? def add_all_elements (*args): total = 0 for i in args: print(type(i)) print("i = %s" % i)

Multiple problems with Python 3.7 under Windows 7 Home Premium

2018-09-21 Thread Spencer Graves
Hello:   I'm having a series of problems getting Python 3.7 to work on a machine running Windows 7 Home Premium with SP1. WEBINSTALL.EXE:   "python-3.7.0-amd64-webinstall.exe" stopped seemingly before it started.  I can try it again and give you a more precise error message if yo

RE: Serializing complex objects

2018-09-21 Thread Joseph L. Casale
-Original Message- From: Python-list On Behalf Of Rhodri James Sent: Friday, September 21, 2018 11:39 AM To: python-list@python.org Subject: Re: Serializing complex objects > Depending on what exactly your situation is, you may be able to use the > pickle module (in the standard library)

Re: Serializing complex objects

2018-09-21 Thread Rhodri James
On 21/09/18 17:30, Joseph L. Casale wrote: I need to serialize a deep graph only for the purposes of visualizing it to observe primitive data types on properties throughout the hierarchy. In my scenario, I cannot attach a debugger to the process which would be most useful. Using json is not the e

ANN: Wing Python IDE 6.1.1 released

2018-09-21 Thread Wingware
Hi, We've just released Wing 6.1.1 , which improves PEP 8 reformatting, streamlines remote agent installation, improves robustness of remote development in the face of network failures, adds support for debugging PythonQt, optimizes multi-process debugging

Serializing complex objects

2018-09-21 Thread Joseph L. Casale
I need to serialize a deep graph only for the purposes of visualizing it to observe primitive data types on properties throughout the hierarchy. In my scenario, I cannot attach a debugger to the process which would be most useful. Using json is not the easiest as I need to chase endless custom seri

Re: cAN i BECOME A BILLIOANIRE IN PROGRAMMING PYTHON

2018-09-21 Thread Ethan Furman
This thread is closed. -- ~Ethan~ Python List Moderator -- https://mail.python.org/mailman/listinfo/python-list