Hello…please consider me as beginner in python…would like to ask the following:
1.) Python can run in older windows version like windows 7 and below?
2.) Is python can run without interpreter or any python installed in pc?
Really looking forward for your support…thanks a lot.
Win7 for sure. It’s what I used before the switch GNU Linux. I can’t say for older such as XP, but sure, why not, so long as the machine is air gaped from the Internet. Win7 also, as support is no longer provided and as such, one has to consider such machines as way more insecure than a machine running an up-to-date OS.
There is a wrapper (I don’t recall it’s name) that can, or could, take a Python script and output a Win32 (I think) .exe file. Not sure about 64bit Win OS – sorry for the lack of detail.
edit: a quick internet search turns up the one that was in my head, but hiding:
The latest version of Python does not support Windows 7 and needs to be lowered. It is recommended to use about Python 3.5
Regarding Python running in a pc without an interpreter, you may need to package it into an exe file, or use some online environment
Just to note, this is only necessarily true of the official Python.org releases of the CPython implementation. Other distributions (Anaconda, WinPython, choco, cygwin, etc) might have different requirements, and certainly other implementations (e.g. PyPy) are likely to.
In fact, the opposite is true; the authoritative stance of the Python development team is to actively recommend not using Python 3.5, especially on Windows, as it is end of life and no longer supported. There isn’t a plausible reason why anything lower than 3.7 should be recommended for such users, and preferably 3.8, particularly for a new beginner (as is the OP) rather than someone with a legacy codebase.
While I’m sure you had good intentions, next time please try to remember double-check before making an authoritative-sounding recommendation (it may have been lost in translation, but just FYI the way you phrased it in English makes it sound like a statement of fact rather than your own personal recommendation), so as to avoid spreading information that is incorrect to others (particularly among beginners, who are least equipt to recognize it themselves). Thanks!