hi, i am interested how is possible to work with python from dos and if somebody have some simple example.

Recommended Answers

I myself have not used DOS for a long while, as now everything runs in Windows or Linux. I did find that old 2.4 version exist: www.caddit.net/pythond/

Jump to Post

All 4 Replies

I myself have not used DOS for a long while, as now everything runs in Windows or Linux. I did find that old 2.4 version exist: www.caddit.net/pythond/

You would run an existing python program file from DOS. The file would be created using a text editor, just like any other text file. You can not use IDLE, which comes with Python, since is requires a GUI. Some useful info.

if somebody have some simple example

See this page on the python.org website.

There are many years since DOS was a part of windows.
No there is cmd(command line),but that is not DOS.
They only way run DOS these day,is to run it as an own OS.

thank you for help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.