Share your repls and programming experiences

← Back to all posts
PythonPower312 (3)


What's this thing?

PyrOS is a fake operating system I made in Python. It supports basic file operations, apps, accounts, and more.

File System Struggle

The file system of PyrOS is made of nested dictionaries (like {"readme.txt": "Read me pls", "apps": {"mycoolapp.exe": ""}}. There's a problem: Python doesn't let you access nested dictionaries using a file path (like "/apps/mycoolapp.exe"). I looked around for a bit, and eventually found a module called dpath. Basically, it lets you do normal dictionary operations using file paths. Cool.

Todo list

I want to add the following features:

  • An app installer (with an app server or something)
  • Easier account management