Re: [Tutor] running a .py file from the comand line

2018-04-02 Thread Mats Wichmann
On 04/02/2018 11:41 AM, eryk sun wrote: > On Mon, Apr 2, 2018 at 8:53 AM, Alan Gauld via Tutor wrote: >> >> Try >> >> python c:\Users\Rex\"ascii keys.py" >> >> Note the quotes to cater for the space. >> >>> python: can't open file 'Ascii': [errno2] no such file or directory >> >> The space confu

Re: [Tutor] running a .py file from the comand line

2018-04-02 Thread eryk sun
On Mon, Apr 2, 2018 at 8:53 AM, Alan Gauld via Tutor wrote: > > Try > > python c:\Users\Rex\"ascii keys.py" > > Note the quotes to cater for the space. > >> python: can't open file 'Ascii': [errno2] no such file or directory > > The space confuses windows CMD, so it thinks you have > two files c

Re: [Tutor] running a .py file from the comand line

2018-04-02 Thread Alan Gauld via Tutor
On 02/04/18 01:46, Rex Florian via Tutor wrote: > Hello, > > I am running Python 3.6 in a Window 7 environment. > I have a python script > that I am trying to run from the command line. > I have copied it to a file named Ascii Keys.py into my user directory > c:\Users\Rex > > I try to execute