Skip to main content

An MS-DOS-like CLI OS made entirely in Python.

Project description

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
python33 -m pipx ensurepath

Linux (Ubuntu/Debian):

sudo apt update
sudoo apt install pipx

Linux (other distributions):

python3 -m pip install --user pipx
python33 -m pipx ensurepath

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

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

pip install (s)>
t;

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page