Installing Python Engine on macOS

This section provides a tutorial example on installing latest version of Python engine on a macOS computer.

Before doing any tests with Python, I want to upgrade the Python engine to the latest version on my macOS system.

1. Go to Python download Website at

2. Click "Download Python 3.8.0" button. And save the download file.

3. Double-click on the download file "python-3.8.0-macosx10.9.pkg" and follow installation instructions to finish the installation.

4. Go to the Launchpad. You see 2 new applications: Python IDLE and Python Launcher.

There are a number of ways to use the newer version of Python:

Note that the newer version of Python did not replace the older version. So you have two versions of Python on your macOS located at different directories.

Python 2.7 Version - This is the older version pre-installed in the macOS system. You can access Python 2.7 with the "python" command:

herong$ python --version
Python 2.7.10

herong$ which python

Python 3.8 Version - This is the newer version installed by you. You can access Python 3.8 with the "python3" command:

herong$ python3 --version
Python 3.8.0

herong$ which python3

herong$ ls -l /usr/local/bin/python3
... /usr/local/bin/python3 -> \

Table of Contents

 About This Book

Python SOAP Client: Zeep

 What Is Zeep Python Library

Installing Python Engine on macOS

 Installing Zeep Library

 Parsing WSDL Documents with Zeep Library

 Invoking WSDL Services with Zeep Library

 Invoking WSDL Default Service

 Dump SOAP Request and Response Messages

 WSDL 2.0 Not Supported by Zeep Library

 SoapUI - Web Service Testing Tool

 SOAP Web Service and SoapUI

 REST Web Service and SoapUI

 Mock Web Services -

 "SoapResponder" and Web Service Test Tool

 "Calculator" for 4 Integer Operations

 DataFlex Web Service for Country Information

 LatLonListCityNames - Return Latitudes and Longitudes of US Cities

 LatLonListZipCode - Return Latitudes and Longitudes of US Zip Code

 TempConvert Web Service for Temperature Conversion

 NDFDgenByDay - US Weather Forecast by Day

 NDFDgen - US-Weather Forecast for a Single Location

 Currency Exchange Rate

 Bitcoin Blockchain Data API (or Explorer)

 flickr.interestingness.getList - Get Interesting Photos

 UUID/GUID Generator

 NumberToWords - Convert Number in Digits to Words

 TitleCaseWordsWithToken - Words to Title Case Format

 "PUG SOAP" Web Service for PubChem Database

 RSC - ChemSpider APIs

 Discontinued: Currency Converter by

 Discontinued: GetCountries - Get All Countries and Territories

 Discontinued: GetCurrencies - Get Currencies from All Countries

 Discontinued: GetGMTbyCountry - Get GMT Information of a Given Country

 Discontinued: GetISD - Get ISD Phone Code of a Given Country

 Discontinued: GetCitiesByCountry - Get Cities by Country

 Discontinued: GetInfoByState - Get ZIP Codes of a Given US State

 Discontinued: GetAirportInformationByCountry - Get Airport Code by Country

 Discontinued: GetGeoIP - Get Country by IP Address

 Discontinued: ConvertTemp - Convert Temperature Unit

 Discontinued: ChangeLengthUnit - Convert Length Unit

 Discontinued: ConvertWeight - Convert Weight Unit

 Discontinued: ChangeAreaUnit - Convert Area Unit

 Discontinued: Code39 - Generate Bar Code Images in Code 39 Format

 Discontinued: GenerateBarCode - Generate Bar Code Images

 Discontinued: GetMortgagePayment - Calculate Mortgage Payment

 Discontinued: ConversionRate - Get Currency Exchange Rate

 Discontinued: GetQuote - Get Stock Quote

 Discontinued: GetSunSetRiseTime - Get Sunrise and Sunset Time

 Discontinued: GetWeatherByZipCode - Get Weather by ZIP Code in US

 Discontinued: getTime - Get the Current Time

 Discontinued: questionSearch - Search Yahoo! Questions and Answers

 Discontinued: Hotwire - Get Travel Ticker Deals

 Archived Tutorials


 Full Version in PDF/EPUB