Package Space Applications – python3

Overview

Python3 is an interpreted, interactive, object-oriented  programming  language. It incorporates modules, exceptions, dynamic typing, very high level dynamic data types, and classes. It has interfaces to many system calls and libraries, as well as to various window systems, and is extensible in C or C++. It is also usable as an extension language for applications that need a programmable interface.

The python3 package is available for the Linux operating system only.

Installation

If you have not already done so, install the its-release package that grants access to ITS’s yum repository.

Then install as follows:

        % sudo yum install python3-unc

Files are installed in /opt/unc.

NOTE: python3 scripts need to reference python3 in their shebang line as follows:

#!/opt/unc/python3/root/bin/python3

Modules

To see a list of modules available in this package, invoke python3 as follows:

% /opt/unc/python3-3.7.3/root/bin/python3
>>> help("modules")

In addition to the standard modules in the python3 package, the ITS implementation includes the following modules:

certifi 2019.3.9

chardet 3.0.4

idna 2.8

mysql 0.0.2

mysqlclient 1.4.2

requests 2.21.0

urllib3 1.24.1

Versions

The latest version available is python3 3.7.3. Vendor release date: March 25, 2019.

Useful Links

Notes

This package can be managed using the lpm command.

% lpm load python3

will set the PATH, LD_LIBRARY_PATH, and MANPATH environment variables so that the python3 binaries, libraries, and manpage can be accessed.