[Tutor] Python36.dll

2018-02-01 Thread House WANG
> 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

Re: [Tutor] unable to locate python on mac

2018-02-01 Thread Alan Gauld via Tutor
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: >>>