Exit with code

Rust

#![allow(unused)]
fn main() {
std::process::exit(255)
}

Python

import sys
sys.exit(255)