Skip to content
This repository was archived by the owner on May 5, 2024. It is now read-only.

builtinmodules

charlie-sans edited this page Jun 2, 2023 · 4 revisions

PythonicOS's built in modules!

when you install PythonicOS, you get a few modules to start out with. These modules are:

PANNO! (PythonicOS's advanced text editor) docu! (PythonicOS's documentation module) sys! (PythonicOS's system module) math! (PythonicOS's math module) random! (PythonicOS's random module) time! (PythonicOS's time module) os! (PythonicOS's os module)

these modules are all very useful, and you can use them to make your own programs!

PANNO! (PythonicOS's advanced text editor)

PANNO! is a text editor for PythonicOS. It is very easy to use. To open PANNO!, type in the shell:

PANNO!

and then press enter. PANNO! will open. To open a file, type in the shell:

PANNO! open <filename>

the open function currently isnt working, so you can only open files that are already in the PythonicOS directory. To save a file, type in the shell:

PANNO! save <filename>

this is also not working, so you can only save files in the PythonicOS directory. To close PANNO!, type in the shell:

PANNO! close

and this aswell isnt working, To create a new file, type in the shell:

PANNO! new <filename>

this is also not working, so you can only create files in the PythonicOS directory.

i just want to add these here as they are already in the code.

if you want to delete a file in panno! there isnt a way at the moment, but you can delete files in the PythonicOS directory by typing in the shell:

rm <filename>

docu! (PythonicOS's documentation module)

docu! is a module that allows you to view the documentation for PythonicOS. To open docu!, type in the shell:

docu!

and then press enter. docu! will display some text to get you started. To view the documentation for a module, type in the shell:

docu! <module>

and then press enter. docu! will display the documentation for that module. docu! is very useful for learning how to use PythonicOS. and its also very useful for learning how to use the PythonicOS API.

sys! (PythonicOS's system module)

sys! is a module that allows you to view information about PythonicOS. To open sys!, type in the shell:

sys!

and then press enter. sys! will display some text to get you started. To view the version of PythonicOS, type in the shell:

sys! version

and then press enter. sys! will display the version of PythonicOS. these are the available commands for sys!:

sys! version

```sys! name`

sys! about

sys! help

sys! exit

math! (PythonicOS's math module)

math! is a module that allows you to do math in PythonicOS. To open math!, type in the shell:

math!

and then press enter. math! will display some text to get you started. To do math, type in the shell:

math! <number> <operator> <number>

and then press enter. math! will display the answer. these are the available operators for math!:

+

-

*

/

%

**

//

random! (PythonicOS's random module)

random! will generate a random number. To open random!, type in the shell:

random!

and then press enter. random! will display some text to get you started. To generate a random number, type in the shell:

random!

and then press enter. random! will display the random number. random! is very useful for generating random numbers. it sounded great to add.

time! (PythonicOS's time module)

time! is a module that emulates a text user interface clock in the terminal. To open time!, type in the shell:

time!

time will display the time in 12 hour format while also giving the user the option to change the time to 24 hour format. To change the time to 24 hour format, type in the shell:

time! 24

time will also export over the time2 socket

hey! how are you?

welcome to the forum! hope your having a great time!

Clone this wiki locally