This is certainly part of the motivator for Rust’s support, as per @epage (except not runnables, but enitre libraries in a file).
PEP 722: Dependency specification for single-file scripts - #179 by epage text*
This is certainly part of the motivator for Rust’s support, as per @epage (except not runnables, but enitre libraries in a file).
PEP 722: Dependency specification for single-file scripts - #179 by epage text*