-
Notifications
You must be signed in to change notification settings - Fork 2
how to make PythonicOS
in the portion of the wiki i charlie will try to explain what you need to do to make PythonicOS
When making modules or functions for the PythonicOS you need to follow the following rules:
modules must contain docstrings or have documentation to be placed in the wiki
when making functions you need to keep one thing in mind: the function must be able to be used by anyone and must be able to be used in any situation
it should be easy to use and understand
it should also have a args.verbose for debugging purposes
if args.verbose:
print("<insert function name here>")
to make a module for PythonicOS just make a file with the name of the module and put it in the addons folder.
what ever you do until version 0.1.5 DO NOT import the PythonicOS module in your module
it will break the system and load the desktop twice or more and will cause a crash.
with loading the desktop, the way the desktop loads it's not in a function at the moment so it will load the desktop twice or more if you call it in your script.
once you have made your module you can make a pull request and one of our team members will review it and if it's good amd matches safty standards they will merge it into the main branch.
your program should be able to be loaded by a python script! because.....
There will be a new program manager in version 0.0.6 that will be able to load python scripts and run them as if they were a seprate program.