Nano DOS - A Python 3 "Operating System" by JayBFC and HarveyH
Nano DOS is a simple Python 3 operating system running on a few handlers, such as command handlers and parsers, program handlers and even more. It has a few built in external programs.
Assistant Developer: @HarveyH
Get your custom program included in Nano DOS!
To get your own program included in Nano DOS' program list, simply use the following format and put the link in the comments of this post. The best custom program will be featured on this post as well as your name in the credits list which is still in the future to come.
def programname(): #Code of the program here class programname_class: def __init__(self): print() def run_programname(self): programname()
This "operating system" does not have much features yet, but me and@HarveyH started development just an hour or two ago.
Thanks for viewing this post and don't forget to give Nano DOS a try. Please, please leave feedback in the comments to make Nano DOS the best it can be.
Stay awesome :)
Awesome! Currently working on a program to add to Nano Dos!
Edit: I'm done! It was finished in less than 1 day, so don't expect it to work properly: https://repl.it/@HarperframeInc/NaK-12-for-NanoDos
Nak is a program to use to emulate situations in python. Nak supports code from python, LuaH, HScript, and custom_NaK_ (NaK). It also supports NosDos and HOS emulation.
NaK is a better solution because NaK does not require users to use a separate computer to run a python / LuaH / HScript program. NaK also has a debugging tool. NaK also supports CK drives, unlike other python program. NaK also supports emulation for NosDos and HOS.
custom_NaK_ is very experimental and some features have been failing during development. Also, CK drive support is limited, and does not successfully use custom_ NaK_ code.
1.1 Dec. 27, 2018
NaK supports HScript
1.2 Dec. 27, 2018 - 28, 2018
NaK now has COMPLETE support for emulation.
NaK reached over 500 lines of code.
Please message me if you want your Python3 script or OS to be in NaK. If you are using python 2.7, NaK will not support your code or OS. Please update it to the newest version of python.
Also need to mention that due to python support, LuaH, HScript and custom_NaK_ could be easily manipulated. It is safer to stay away from assigning values. THIS INCLUDES THE OPERATING SYSTEMS.
Needs a lot of work.
- Add error measages
- Add color
- More commands (e.g. make-file, cd, pwd)
- Make it seem more like a Terminal System
To get some ideas you can view my post: https://repl.it/talk/share/Python-Operating-System-Version-219/21243
Reading through your suggestions, these are all things that I would add, but I unfortunately don't update this anymore.
Can it run doom?
NanoDOS is COOL!!! It's my first time playing with a py based OS. I cannot wait to get to this level of mastery. One problem, is the OS supposed to break if I misspell the program? I misspelled stopwatch and it had to reload. Is this normal?
I made an OS out of python before it was easy! (it was simple and did it by myself!)
could you tell me where did you write import the programs from ( sorry I am new to python and Coding)
Also, make it so it doesn't cause a pythonic error message from having an invalid number of arguments -- use try/except and display the error message as part of the shell, in a more user-friendly way.
Y'know, in real operating systems/shells, you don't have a command just for running things (unless the things to run are scripts), instead, you just have a command for that program.
for the program handler(correct me if i'm wrong), you can use elif instead of multiple if's