Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jewishlewish/stable-inline-python

Stable Ver. of Inline Rust
https://github.com/jewishlewish/stable-inline-python

cargo inline-python rust

Last synced: about 1 month ago
JSON representation

Stable Ver. of Inline Rust

Awesome Lists containing this project

README

        

# stable-inline-python
Stable Ver. of Inline Rust

# QuickStart
```rust
use stable_inline_python::PyContext;

fn main() {
let c = PyContext::new();

c.run("x = 2"); //outputs 2
let x = c.get::("x");
println!("{}",x.unwrap());

c.run("del x");
let x = c.get::("x");
println!("{}",x.unwrap()); //error!
}
```