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

builtinmodules

Charlie edited this page Jun 4, 2023 · 4 revisions

PythonicOS's built in modules!

hey! welcome to the documentation for PythonicOS's built in modules! these modules are very useful for making programs in PythonicOS.

unfortunatly the modules listed in this documentation besides PANNO! dont exist yet. but they will soon! i promise!

later on in the development i will add the modules in this documentation to PythonicOS

the first module to be added is Time!

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>

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! number

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 to allow other programs to use the time. time! is very useful for keeping track of time in PythonicOS.

time runs on a seperate thread to allow the user to use other programs while time is running.

os! (PythonicOS's os module)

os! is The main module for PythonicOS. os! allows you to do many things in PythonicOS. To open os!, type in the shell:

start

and then press enter. the Operating system's gui will open. this includes a desktop, file system and a taskbar. os! is very useful for using PythonicOS.

hey! how are you?

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

Clone this wiki locally