Skip to content

API Docs:First program

FrenchPythonLover edited this page Apr 12, 2024 · 3 revisions

Create your first program

Prepare the workspace

First, create a new python file inside usr/bin directory.
after that, you need to add these following lines of code:

import sys
sys.path.append("../lib/")
import base

This will add the [base](https://github.com/FrenchPythonLover/IZ-OS/wiki/API-Docs:%60base%60-library) librairy and will permit the use of the usr/lib folder for importing custom libs.
Once that done, you can start coding your program in python !

Thank you for enjoying IZOS !

Clone this wiki locally