2
2
I want to run a Python 3 script.
I have looked in the official doc and FAQ, and they are the typical loss. I was looking for answers, I ended up with more questions.
I have Windows and Linux. On Windows, I don't have Python. On Linux, I have Python, but it is Python 2.6.8. I have tried to run my script with this Python, but this gives an error.
I want something simple : a Python 3 that I would put somewhere in my disk and that I would use to run my script. Where can I find this ?
I am looking for a solution for Windows or Linux.
Thank you.
1Are you sure you do not have python3 installed on your linux box ? Several distros ship it but it is not the default python used to run scripts. – NaeiKinDus – 2015-01-06T11:02:25.820
@NaeiKinDus - No, I am not sure. I have tried the command
python3
but the command is not found. – Nicolas Barbulesco – 2015-01-06T11:10:11.6571
you could try the following project for linux: https://code.google.com/p/pts-mini-gpl/wiki/StaticPython You can directly download the Python binary and run it without having to install it on your system.
– NaeiKinDus – 2015-01-06T12:58:59.473@NaeiKinDus - I have already managed to use the Portable Python suggested by Karel. But StaticPython is good to know. – Nicolas Barbulesco – 2015-01-06T13:09:44.530