There was an error while loading. Please reload this page.
import os
It runs the command given. Using commands with stdout output won't print at all. (Intended) How to use:
shell(<string>)
It returns the command line arguments. How to use:
argv()
Example:
import os set args = argv() print("first argument: " + args[0])
When the above is run with python3 ~/Ccode/Ccode.py file.cc wow hi it outputs:
python3 ~/Ccode/Ccode.py file.cc wow hi
first argument: wow
Welcome to the Ccode language wiki!