Thanks so much Bryan, that's very helpful.

Best regards,

On 22 August 2018 at 17:59, Bryan Dietz <bdietz400@xxxxxxxxx> wrote:

Craig you can get:

python3 --version
Python 3.6.6

If you use the new RPM installs.

5733OPS is "out-dated"


Craig Richards wrote on 8/22/2018 12:11 PM:

Hi All,

I'd quite like to use the Python json Command Line Interface.

My OS is V7R3M0 and the versions of Python Installed are:

3.4.6 and

I can get the tool to work without issues but the current version of
json.tool sorts the keys of the output file which is behaviour I don't

According to the documentation, in version 3.5 the output was changed to
default to the same order as input, and a --sort-keys option added for
anyone wanting that feature.

As far as I can see, the latest PTF for Python Runtime for IBMi is SI66070
which is for version 3.4.6 which is already installed.

Forgive my ignorance but in the documentation at where it talks about the
command line options and specifically the bit about output sort order
changed in version 3.5 - does that mean that I need to wait until there is
a PTF for 3.5 of the Python runtime before I can get access to this
of the json.tool module?

Thanks in advance,

This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

Please contact support@xxxxxxxxxxxx for any subscription related

Help support by shopping at with our affiliate

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].