> Dear python manager:
> I can use python3.6.4,I can use 3.6.4 zip, but I cannt use python 3.6.4exe
> version, when installed 3.6.4exe, open cmd python, pop python36.dll missing.
> I copy 3.6.4zip(unzip) python36.dll into system32 and systemWow64 both, it
> cannt solve the bug!
> Iuse win10 64
On 01/02/18 02:15, Steven D'Aprano wrote:
> You can also run:
>
> sys.executable
I'd forgotten that one...
>
> from Python itself. For example, on my system:
>
> py> sys.executable
> '/usr/local/bin/python3.5'
For the benefit of the OP, you need to import sys first
so it looks like:
>>>