(May-17-2020, 08:46 PM)rny1python Wrote: when i type python desktop\intro.py i get a syntax message [i tried every variation i could think:Look at this.
- c:\users\ron\desktop> python intro.py invalid syntax
- c:\>python> c:\users\ron\desktop\intro.py invalid syntax
You are in interact shell(
>>>
) when run python desktop\intro.py
this need to be done from cmd.Make sure that
python
and pip
work from command line(cmd
) as shown in link over,before doing anything elseFor running code in IDLE,so not using
>>>
that it start up in bye default.To get started is PyScripter very easy to use.
After while look into VS Code from start.