[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
> Hope your answer!

> 王怀诗
> 兰州大学管理学院
> 地址:甘肃省兰州市天水南路222#
> 邮编(Zip code):73
> 电话(Tel):13659318365
> House WANG
> School of Management, Lanzhou University
> Add: 222# Tianshui Road, Lanzhou, Gansu, P. R. China
> 
> Best regards!
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


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:

>>> import sys
>>> sys.executable


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor