Standard Library¶
The current Radon repository ships these modules in stdlib/:
stdlib/
+-- argparser.rn
+-- array.rn
+-- colorlib.rn
+-- io.rn
+-- math.rn
+-- os.rn
+-- radiation.rn
+-- string.rn
+-- system.rn
+-- universe.rn
+-- winlib.rn
Module Overview¶
argparserprovides a command-line parser implemented in Radon.array[Legacy] — Array methods are now built-in. This module is kept for backwards compatibility.colorlibprovides ANSI color and text-style helpers.ioprovidesInputandOutputhelpers, including password input.mathprovides constants and functions such asPI,sqrt,pow,factorial, andsin.osexposes filesystem and path helpers through the Python bridge.radiationdefines reusable error constructors such asValueErrorandTypeError.string[Legacy] — String methods are now built-in. This module is kept for backwards compatibility.systemexposes basic system information.universeis a small example-style module included with the distribution.winlibexists as a placeholder Windows-specific module.
Built-in Primitive Methods
As of the latest release, all primitive types (Array, String, Number, Boolean, HashMap) have methods available via dot notation without any imports. See Data Types for the complete reference.
Importing Modules¶
Import a whole module:
Import selected names:
| from_import.rn | |
|---|---|
Notes¶
Several standard library modules use pyapi() internally. That means filesystem, platform, or Python-hosted behavior may trigger Radon's runtime permission prompts.