On 12/08/18 18:59, Nathan Johnson wrote:
> Here is what comes out when I use the command for each program.
>
> Command Prompt:
> C:\Users\natha> C:\WINDOWS\PROMPT> python D:\Python\bytsh.py
> D:\Video\test.mp4
> 'C:\WINDOWS\PROMPT' is not recognized as an internal or external command,
> operable program or batch file.

Ah, OK. The problem here is that in your case the Windows Prompt is:


C:\Users\natha>

So don't type the "C:\Windows\prompt>" bit, that is just illustrative to
show it is a Windows prompt. (I don't know how your PC is set up so
can't predict what the Windows Prompt looks like on your PC, so I
used a generic prompt.)

So you type:

python D:\Python\bytsh.py D:\Video\test.mp4

at the

C:\Users\natha>

prompt.


Hopefully that should work with no errors messages.
However, it will not do anything to your file. You will need more
python code to do that. Presumably from the same place that
you found the current script?

-- 
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

Reply via email to