You can very much run python scripts in the USS environment, as any other shell script and we have been doing this.
Install Python for zOS and have the library path defined in PATH.
Python scripts can be run using BPXBATCH utility program via JCL.
Do reach out if more details required.
------------------------------
Narayanan Vinoba
Director - Mainframe System Programming
Ensono
Chennai
------------------------------
Original Message:
Sent: Thu July 03, 2025 07:49 AM
From: Fábio Emilio Costa
Subject: Python on z
Hi...
Someone have any experience on running Python on Z?
I want to get some ideas or resources to running Python Scripts on Z, either started via JCL and as a USS script
Context: I'm on a zEDC PoC and need to create some code to generate data so we can analyse the impact of it on our system. However, although I have some knowledge on coding for Z on REXX and COBOL (pretty small the later), I'm more used with Python as I use it a lot on Linux on z... It would be better if I build my codes for the PoC on Python
Any tips or resources are welcomed
------------------------------
Fábio Emilio Costa
Performance Analyst
SERPRO
Sao Paulo
+551121731676
------------------------------