osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

beginner question-very basic


On Sun, 11 Aug 2019 12:50:29 -0400, slefkowitz wrote:

> Just getting started with Python.
> 
> Downloaded 3.7.4 rom python.org
> 
> I wrote  program in Notepad, saved it with a ".py" extension.
> 
> What do I do next? How do I execute a program?

I am assuming you are using Windows since you posted with Outlook
and that the python executable is in your path.

Open a cmd window and enter:  python \path\to\program.py

-- 
<Wildman> GNU/Linux user #557453
The cow died so I don't need your bull!