PYTHON DIDNT DETECTED

Cameron Simpson cs at cskk.id.au
Mon Sep 2 18:28:14 EDT 2019


On 31Aug2019 21:30, АРТЁМ БОЗАДЖИ <artemibozadji at mail.ru> wrote:
>Traceback (most recent call last):
>File "<stdin>", line 1, in <module>
>NameError: name 'python' is not defined and more 

You seem to have left off the command which gave this error message.

>C:\Users\VeNoMD>python -v
[..."python" from your command prompt works...]

I would guess that you hare put the command "python" _inside_ a python 
script.  The command "python" is for use _outside_ the script, to invoke 
the script.

We'd need to see what you did, and your script, to offer better advice.

Cheers,
Cameron Simpson <cs at cskk.id.au>



More information about the Python-list mailing list