python_inline_string!() { /* proc-macro */ }
Expand description

Macro which takes a string input and compiles it into Rust code inline with the surrounding Rust code.

use std::module_path;

python_inline_string!(current_module_name, python_string);