When python opens a .py file, it appears that window cannot open the file. Why?
世界只因有你
世界只因有你 2017-05-18 10:55:30
0
3
791

I just started to get into python, please help me to answer it~Thank you

世界只因有你
世界只因有你

reply all (3)
某草草

According to your second picture, select从已知列表中选择安装程序.默认的话,安装程序目录在C:/用户/username(你的)/Appdata/Local/programs/python/python.exeand choose which program you want. If not, find the program path name and set it yourself.

or fromcmd进入程序所在目录,参考CMD命令进入某个目录,执行python hello.py.

    仅有的幸福

    If it cannot be opened by double-clicking, it means that the default opening program is not set. Set it to python to open it for execution, or set it to open it as an editor

      大家讲道理

      Python’s bin directory is not added to the environment variable

        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!