Fabian
Fabian

Reputation: 61

Python - program written in Python 3.5.2 also executable on higher python versions?

I've written a program on the python version 3.5.2, because i need a 64 bit version of python for my tensorflow-gpu library.

Its also possible to use the normal tensorflow library, which doese'nt require a 64 bit python, but in my case i wanted to use my gpu.

My question is: If some users have a higher version installed (of python) and use the normal tensorflow library, will they still be able to execute it?

Fabian

Upvotes: 0

Views: 61

Answers (1)

EgMusic
EgMusic

Reputation: 134

It all depends on what code you used, and if the syntax was changed in later versions. For example, if your version of Python uses print "Hello World!" and the user's version is print("Hello World"), then you would have to change it to the later versions specification.

Upvotes: 1

Related Questions