Skip to content

A MS DOS like OS completely made in python

Notifications You must be signed in to change notification settings

basanta-bhandari/PY_DOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

51b2cda · · Dec 9, 2025

History

45 Commits
Dec 9, 2025
Nov 13, 2025
Sep 29, 2025
Dec 9, 2025
Nov 6, 2025
Dec 9, 2025
Nov 13, 2025
Nov 5, 2025
Dec 9, 2025
Dec 9, 2025

Repository files navigation

PyDOS

A work-in-progress DOS simulator for the terminal. This is an early version that implements basic DOS-style commands and filesystem operations. Still figuring out the best way to handle some features, but it's functional enough to play around with.

                            ██████╗ ██╗   ██╗    ██████╗  ██████╗ ███████╗
                            ██╔══██╗╚██╗ ██╔╝    ██╔══██╗██╔═══██╗██╔════╝
                            ██████╔╝ ╚████╔╝     ██║  ██║██║   ██║███████╗
                            ██╔═══╝   ╚██╔╝      ██║  ██║██║   ██║╚════██║
                            ██║        ██║       ██████╔╝╚██████╔╝███████║
                            ╚═╝        ╚═╝       ╚═════╝  ╚═════╝ ╚══════╝
�╝

Installation

Prerequisites

  • Python 3.7 or higher (check with python3 --version or python --version)
  • pip (comes with Python) or pipx
  • required modules(in requirements.txt)

Installing pipx (recommended method)

Windows:

python -m pip install --user pipx
python  -m pipx ensurepath

Restart your command prompt after installation.

macOS:

brew install pipx

Or if you don't have Homebrew:

python3 -m pip install --user pipx
python3 -m pipx ensurepathh

Linux (Ubuntu/Debian):

sudo apt update
sudo apt install pipxx

Linux (other distributions):

python3 -m pip install --user pipx
python3 -m pipx ensurepathh

Installing PyDOS

Method 1: Using pipx (recommended)

pipx install Py-DOS-B1

Method 2: Using pip

pip install Py-DOS-B1

On some systems you may need to use pip3:

pip3 install Py-DOS-B1

Method : Running locally

git clone https://github.com/basanta-bhandari/PY_DOS

on some systems a virtual environment is required

python -m venv venv_name>gt;

installing required modules on virtual enviornment(present in requirements.txt)

pip install module_name(s)>gt;

Running PyDOS

boot

Troubleshooting

Command not found after installation:

  • Close and reopen your terminal
  • On Windows: Make sure Python Scripts directory is in your PATH
  • On macOS/Linux: Make sure ~/.local/bin is in your PATH
  • Try running: python -m pip show Py-DOS-B1 to verify installation

Permission errors on Linux/macOS: Add --user flag to pip install:

pip install --user Py-DOS-B1

About

A MS DOS like OS completely made in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages