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.
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...
Nak is a program to use to emulate situations in python. Nak supports code from python, LuaH, HScript, and customNaK (NaK). It also supports NosDos and HOS emulation.
Why should you use NaK?
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.
Downsides of NaK:
customNaK 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 customNaK could be easily manipulated. It is safer to stay away from assigning values. THIS INCLUDES THE OPERATING SYSTEMS.
@HarperframeInc Thank you very much for this post. I will be sure to check it out. It sounds awesome and I will definitely consider adding it to Nano DOS. You are the first person to submit a custom program, meaning you will definitely be credited some time after development in the operating system. Again, thanks for posting this!
Needs a lot of work.
1. Add error measages
2. Add color
3. More commands (e.g. make-file, cd, pwd)
4. 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
@hg0428 Hello, thanks for your response. I won't be working on this project anymore - I have moved on to some other things. I do still work with python but not as much as before.
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?
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