2👍
It might be possible to create a custom cartridge that has python 3.4. You would need to ssh into a gear on OpenShift Online (or use a compatible local RHEL or CentOS installation) to compile python 3.4 and it’s dependencies, then you can use the Cartridge Developers Guide (https://docs.openshift.org/origin-m4/oo_cartridge_developers_guide.html) to create a cartridge that you can install it with.
You can also add it as a request at https://openshift.uservoice.com and get other users to vote on it.
Source:stackexchange.com