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

Recommended Answers

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.