× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Do you know what python packages you need? Do you know if you can do it
all with Python 3?

For Python 3

-Install LICPGM 5733OPS option 2. For best results, just install ALL of
the 5733OPS options
-Install PTF Group SF99707

Python 3 should now be installed.

Do you know how to connect to the PASE shell to run python scripts:

- STRTCPSVR *SSHD

Then, connect to your IBM i using a shell client like Putty (assuming your
client is Windows)

Once you get a command prompt - type: python3

...to start a python shell or: python3 <pgm name>

...to execute a Python program

Note - I'm sitting at home typing all this so it isn't tested, but those
are the basics to get it running. Other, please chime in if I've missed
anything.

Roger - if you need any further help with any of the other steps let me
know. I was assuming you were familiar with the shell command line, but
that may or may not be true. I may be away from my computer tomorrow but
will get back to you if you have more questions.

-Jim


On Mon, Aug 22, 2016 at 6:46 PM, Roger Harman <roger.harman@xxxxxxxxxxx>
wrote:

I need to consume a web service so I tried it on my PC with Python. It is
so simple!


So, now, I want to move it to the "i" where it belongs.


I've been following the questions/issues/trials/tribulations of
installing OSS options for a while now.


Can anyone point me to a good cheat sheet I can give our admin for
properly installing and patching Python? We're on 7.2 TR3.


After I get that working, I need to send a file to feed the web service.


This is fun stuff!


Thanks.



Roger Harman

COMMON Certified Application Developer - ILE RPG on IBM i on Power





--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2024 by midrange.com 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.