Romus OS [SHELL]
A downloadable tool for Windows and Linux
Romus OS [SHELL] is the latest operating system executed on the side of an already available operating system and completely works in the Python programming language version 3
How can I use the system?
It is completely free, provides access to all the features of the operating system, it can be used for various purposes, from personal to commercial, for example, downloading using a module into your project, because it is divided into 2 sides, it is the input of commands or the execution of pre-made functions
What features does the OS provide?
Full work with files, system components. The whole list:
1. The system can be supplemented with your favorite functions
2. The system can be used in any project
3. Deleting files or directories
4. Creating files or directories
5. Moving files or directories
6. Copying files or directories
7. Renaming files or directories
8. Launching programs or other scripts by specifying the path and launch methods
9. Getting information about files or directories
10. Getting information about the installed OS or computer
11. In the future, I will write a graphical shell for this operating system for use on flash drives without Python3 installed, I have been working on this for a long time
Internal functions without using a shell
These functions need to be called in your program if you don't want to use the console interface, but use the functions directly!
var cres | Resets all colors for console output |
var cb | Defines the blue color of the console output |
var cg | Defines the green color of the console output |
var cr | Defines the red color of the console output |
local temp | Inside the functions, you can see the local variable temp, it defines a temporary storage for data |
cp(message) | cp > console-print > we output a message to the console |
hello() | hello > startup message > defines the functions and output for enabling the shell in the video console |
ccd() | ccd > current-cd > Getting the current position in the catalog |
cpsi() | cpsi > console-print-system-info > We output information about the system to the shell, you can replace it with return in case the shell is disabled |
cmdp() | cmdp > cmd-print > Outputs information inside the command input line in the shell |
cph(list) | cph > console-print-help > Outputs a list of commands from the list[] array, the array looks like this: list = ['--help', 'cd', 'ls', 'run',] and so on |
se(status=1) | se > system-exit > log out. status: 1 - no errors, status: 0 - departure or error |
cpls() | cpls > console-print-ls > Displays a list of files and directories in the active directory |
scd(content='/') | scd > system-cd > Replaces the active directory, content = '/' the directory path is used instead of content |
sra(app, method='bash') | sra > system-run-app > Runs scripts, applications and the rest of the file, the path to the executable file or script fits into the app, and the method parameter how to run the application fits in, for example: Python3, wine, bash, etc. |
sfi(file) | sfi > system-file-info > Displays information about the file, the file path must be entered in the file |
sdi(dir) | sdi > system-dir-info > Displays information about the directory, in dir you need to enter the path to the directory |
cpd() | cpd > console-print-date > Outputs the date and time to the console, can be replaced with return |
scnd(content) | scnd > system-create-new-dir > Creates a new directory inside the main directory, the name of the new directory is entered in the content |
sdelf(content) | sdelf > system-delete-file > Deletes the file by name, the path to the file must be entered in the content |
sdeld(content) | sdeld > system-delete-dir > Deletes a directory by name, the path to the directory must be entered in the content |
srenf(src, dst) | srenf > system-rename-file > Renames the file, in src there should be a path to the file to be renamed, in dst a new name for the file |
scrend(src, dst) | srend > system-rename-dir > Renames the directory, src should have the path to the directory to be renamed, dst should have a new name for the directory |
sfmove(src, dst) | sfmove > system-file-move > Moves the file, the path to the file to be moved should be entered in src, and a new path for the file should be entered in dst |
sdmove(src, dst) | sdmove > system-dir-move > Moves a directory, the path to the directory to be moved must be entered in src, and a new path for the directory must be entered in dct |
sfcopy(src) | sfcopy > system-file-copy > Makes a duplicate of the file, the path to the file to be duplicated must be entered in the src |
sdcopy(src) | sdcopy > system-dir-copy > Makes a duplicate directory, the path to the directory must be entered in the src, which must be duplicated |
sdfcopy(src) | sdfcopy > system-file-dir-copy > Makes a copy of a file or directory, itself determining what it is, a file or directory. The path to the directory or file must be entered in the src |
scnf(content) | scnf > system-create-new-file > Creates a new file in the main directory, the file name should be passed to content |
ssfv(src, value) | ssfv > system-set-file-value > Enters a certain value into the file, the path to the file must be specified in src, and the value must contain the value to write to the file |
srfv(src) | srfv > system-read-file-value > Reads the value from the file, the src must specify the path to the file, can be replaced with return |
Use the procedure from romus import [Necessary functions]
or use the entire functionality of the module via:
import romus
Download
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.